|
In DATAGRID, there are 3 layout columns containing LINKBUTTON, TEXTBOX, and DROPDOWNLIST.
Now I hope that clicking on LINKBUTTON will add another line at the end of DATAGRID (also contains LINKBUTTON, TEXTBOX and DROPDOWNLIST.)
I want to use
DataTable dt = new DataTable ();
TextBox tmp = new TextBox ();
dt.Columns.Add (new DataColumn ("textbox", tmp));
DataRow dr = dt.NewRow ();
To implement, but the tmp is wrong, I don't know if the DataColumn can do this?
Or is there any other method?
Thank you |
|