Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have one gridview with 3 columns. In 3 columns I have two drop down controls and one test box control.
On page load by default one row will be display with 2 drop down and one text box. I have one button above grid view and text box. On click of that button, no.of rows will generate in gridview which value entered in the text box.
how can I do this using asp.net or jquery. Please help me.
Posted

You should use the xxx_Click event of your button to add new row in your database, and if you are bounded correctly your GridView the new data should be shown!

You can find in my next article Advanced ASPX GridView Pagination and Data Entities[^] detailed code example about using GridView in ASP.NET.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900