asked on
ASKER
ASKER
ASKER
ASKER
Visual Basic .NET (VB.NET) is an object-oriented programming language implemented on the .NET framework, but also supported on other platforms such as Mono and Silverlight. Microsoft launched VB.NET as the successor to the Visual Basic language. Though it is similar in syntax to Visual Basic pre-2002, it is not the same technology,
TRUSTED BY
ASKER
But I don't understand
If combobox1= "candidate_code" Then
dv.RowFilter = " code LIKE '%" + tbSearch.Text + "%' "
ElseIf combobox1= "candidate names" Then
dv.RowFilter = " names LIKE '%" + tbSearch.Text + "%' "
ElseIf combobox1 = "candidate DOB" Then
dv.RowFilter = " DOB LIKE '%" + tbSearch.Text + "%' "
End If
you have 3 variable
code, names, DOB, is it the field in my database
Dim dv As DataView = yourDataSet.Tables(0).Defa
I often using dataadapter wizard to generat a dataset
here is my code: but I don't know how to generate an dataset
Dim sqlconn As New System.Data.SqlClient.SqlC
Dim sqlcmd As New System.Data.SqlClient.SqlC
sqlcmd.Parameters.Add("@Ca