Search results for query: *

  1. A

    Capturing data from a datagrid

    can anyone tell me if there are any methods of the datagridview control object that will capture which row the user has selected and retrieve a value from a field in that row? ex- user clicks on second row and i want to retrieve the "email" field from that row and put it in a textbox. I have...
  2. A

    Searching a database for a string in a field

    dim blnFound as boolean dim dr as datarow ForEach dr In ds.Tables("dtCustomers").Rows If dr("Phone").Trim = txtPhone.Text.Trim Then blnFound = True intCustID = dr("CustID") MessageBox.Show("Found") Else blnFound = False MessageBox.Show("Not Found") EndIf Next Any ideas why I always get back a...
Back
Top