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.
Loading
David CarterPosted Aug 24, 2010, 2:37 AM
Goto Columns and click on the little ... button beside the word (Collection)
Select the column Address and under Appearance, make Visible = False.
Same with Phone.
D.
GeoffPosted Aug 20, 2010, 10:24 AM