DataGridView Record Selection

Hey guys I am not a new VB programmer but I am kind of new to the database side of it.

THis is what I got, I have a form that fills a datagridview control with data from an access database located locally, I used the dataset designer to create the database connection.

I am able to fill the datagridview what I would like to do is when the user double clicks on a record (the data grid only show names) it will create some sort of data table or dataset in which I can pull the rest of the information from (address of record, etc) so I can put this information in textboxs, labels, etc.... thanks



Answer this question

DataGridView Record Selection

  • SUN999

    Yes you can do this thing in the following order

    1. User select a record on the DataGrid
    2. Grab the Selected Name
    3. Search the Dataset on the Selected Name
    4. Pull that record from the Dataset and put the record on the text boxes , labels etc

    Hope this might help




  • TedLee

    Hi!

    I think you find better answers on your question in "How to:..." menu. Try something called "How to: display relational data" (I think it called so).



  • DataGridView Record Selection