hi every 1. i have a form and i dropped customer dataset as details view on the form and booking dataset as gridview.So now when i insert a record i can scroll through different records and with respect to the customer its shows me related booking aswell. Wat i wanna do is i want to create a search txt box where i can bind both detailsview and data gridview. i knw how to write code for gridview but really struggling to change the data for both..here i wrote code for gridview plz add or modily the code..So that when i search through 100 of records i can see customer details in details view and customer booking on gridview.thnx
Dim dv As DataView = New DataView()
dv.Table = NewBookingDataSet.Customer
dv.RowFilter = "LastName like '%" & txtCustSearchNewBooking.Text & "'"
NewBookingDataGridView.DataSource = dv