HI all .....
I am beginner of VB. net. I m developing a vb.net application program to store, update and search contact information and address. I have completed the data. I have used ms access as my backend. I enter data like wise;
Dim con As New ADODB.Connection Dim tmp As New ADODB.Recordset Dim s As String con.ConnectionString = "provider=microsoft.jet.oledb.4.0;data source=K:\Database\db1.mdb" con.Open() s = "select * from add1" tmp.Open(s, con, ADODB.CursorTypeEnum.adOpenDynamic, ADODB.LockTypeEnum.adLockPessimistic) . . . tmp.AddNew() tmp.Fields("ID").Value = T18.Text MsgBox("Record Saved") Exit Sub
And to search these type of data i have used separate forms by providing the links of forms in an one search form.
I have given parameters like name, country, org, email to search the contact. I need to show them in a data grid in the form. suppose i insert name in the text box and press button search then the resembling names and their information should be displayed in the data grid. I would be very grateful if anyone helps me to solve this problem.
Waiting for the replys.