GridView + TextBox and Button Control [modified]
-
Hi All, I was wondering to create the above three controls at a time.My Grid is attached with a Table from a database. Every time an Entry is made on the table I want the Gridview and a textbox and a Button to be created. For any entry on the table i would like a gridview which contains a databound textbox ,Text box which is not dataBound and a button control. If for instance i have three records on a Table then we have a gridview which is got three textbox to reflect data and also other three blank textbox and three Buttons side by side. Thanks for your time. Many thanks
modified on Wednesday, February 17, 2010 6:26 AM
-
Hi All, I was wondering to create the above three controls at a time.My Grid is attached with a Table from a database. Every time an Entry is made on the table I want the Gridview and a textbox and a Button to be created. For any entry on the table i would like a gridview which contains a databound textbox ,Text box which is not dataBound and a button control. If for instance i have three records on a Table then we have a gridview which is got three textbox to reflect data and also other three blank textbox and three Buttons side by side. Thanks for your time. Many thanks
modified on Wednesday, February 17, 2010 6:26 AM
-
Just create new columns from type DataGridViewTextBox and DataGridViewButton. If someone create a new row, then textbox and button will automatically created.
-
Thanks so much its Much appreciated.The textbox and Button are not databind only the one in Gridview has a data from the table.It will be great if you can show me an example. Many thanks
-
Just create new columns from type DataGridViewTextBox and DataGridViewButton. If someone create a new row, then textbox and button will automatically created.