Shree

Shree

  • NA
  • 2
  • 3.5k

Displaying only selected data to datagrid

Aug 18 2010 4:18 AM
Hello , can anyone pls help me in display only the required data from a dataset to a datagridview in vb.net

I have a dataset with four fields like id, name, address, phone,
but i need to display only the id, name in the datagrid.
I dont want to create a new dataset to hold only id, name.
After I display the datagrid, once the user selects the particular row, i need to return the id value from the selected row.

Thanks.

Answers (2)