Reading a datagrid in VB.Net

  • Thread starter Thread starter DellaCroce
  • Start date Start date
D

DellaCroce

This is going to be very simple for some you. I have a form with a
datagrid bound to a database. The user is to select a row and I need to
show all the associated detail records from several other table. OK, the
easy part is getting the details from the tables. The part I am unsure of
(and need a code example of >>Please<<) is getting value of the selected row
that are the keys to the SQL that I need to build for the details. i.e.
each row is has a customer number, and "other" key info, I need to know the
data for the selected row.
TIA,
 
This website rocks. Tells you all the tips and tricks about the datagrid.

http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

HTH,

Brian Bischof

A Crystal Reports.NET book for programmers? Its here!
* Covers ASP.NET and Windows Forms
* Teaches all phases of report development
* Alerts you to the bugs and how to get around them
* Maps out the complex ReportDocument object model
* Shows how to perform runtime customization
* Demonstrates all options of connecting with ADO.NET
* Gives complete code listings for every concept presented

http://www.crystalreportsbook.com/123aspx.asp
 
Thanks to both you and Cor for the great websites!!!

Greg

Brian Bischof said:
This website rocks. Tells you all the tips and tricks about the datagrid.

http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

HTH,

Brian Bischof

A Crystal Reports.NET book for programmers? Its here!
* Covers ASP.NET and Windows Forms
* Teaches all phases of report development
* Alerts you to the bugs and how to get around them
* Maps out the complex ReportDocument object model
* Shows how to perform runtime customization
* Demonstrates all options of connecting with ADO.NET
* Gives complete code listings for every concept presented

http://www.crystalreportsbook.com/123aspx.asp
 
Back
Top