emma oj

emma oj

  • 1.5k
  • 195
  • 23.9k

Creating Multiple Dynamic TextBox in c# n storing the value in mssql

Jan 8 2021 9:59 PM
Please help me with the code to create Dynamic TextBox in ASP.NET and store data to SQL Server using button click. Every time a user enters x number of textbox inside the Textbox field and click on the button,it will generate the stated x numbers of row with three individual Textbox and another button will save the value to database.
Example: x = 4
[ TextBox1 ] [TextBox2] [TextBox3] |       |New Row|
[ TextBox4 ] [TextBox5] [TextBox6]        |New Row|
[ TextBox7 ] [TextBox6] [TextBox9]       |New Row|
[ TextBox10 ] [TextBox11] [TextBox12] |New Row|
|Save|

Answers (3)