Click here to Skip to main content
15,908,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to insert a new row into gridview using javascript.
The values are just showed into gridview itemtemplate and its datas are stored into database.
Posted

1 solution

You can use JQuery clone[^] to make a copy of existing elements, such as a table row, and insert it into the table. However, if you want to add a new row from your datasource you should rebind the grid with a postback.
 
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