Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i...Convert an unbound datagrid to a datatable

Status
Not open for further replies.

ggeorgiou01

Programmer
Apr 11, 2005
60
GB
Hi all,

I have a windows form, which has a datgrid on it. The datagrid has no datasource and the user will enter all the rows.

On the click of a button i want to pass the items within the datagrid (could be 1, 2, 3 rows) into a DataTable, typed variable. is this possible How do i do this ?

Many Thanks,
George
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top