Dear Friends;
I am developing a small program using C#.net. My form has number of text boxes. I want add data which are in text boxes to data grid on my form. How to do it ?
Kelum Kanchana
Add Data to Datagrid
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Stefan138 reputationPosted Apr 1, 2009, 1:39 PM EDT
kelum kanchana28 reputationPosted Apr 2, 2009, 10:24 PM EDT
Kelum
kelum kanchana28 reputationPosted Apr 5, 2009, 11:05 PM EDT
Thanks,
LisaRank #8,652 · 218 reputationPosted Apr 7, 2009, 4:52 AM EDT
you can store the textbox values into a datatable or a dataset and then assign the datatable to a datagrid.
DataTable dt = new DataTable();
dt.add("values")
then assign the datatable to the datagrid view.
Thanks,
Lisa