In this example: Gridview >> Misc >> Two Grids

How do i set a value (Guid ID) and display text to the items. then when you submit get all the the value from the selected grid.

I need to do this using SQL database call and not from xml.

How would I accomplish this?

thank you