i'm writing a programme in vb.net that enables me to do a research in a data table using a single parameter i call this function using an other one and then i click on a button to start the search but nothing shows in the data grid and an error says that it's impossible to create a infant field of my client table this the code i used
Private Sub BtnsearchClient_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnsearchClient.Click
Dim NameCli As String
NameCli = TxtsearchClient.Text
RechercheClient(NameCli)
DgResultatsearch.SetDataBinding(DataSetResultatsearch, " TClient ")
End Sub
Private Sub BtnsearchClient_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnsearchClient.Click
Dim NameCli As String
NameCli = TxtsearchClient.Text
RechercheClient(NameCli)
DgResultatsearch.SetDataBinding(DataSetResultatsearch, " TClient ")
End Sub