Click here to Skip to main content
14,866,383 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
i have a Button control outside of my gridview Control on web page.i want to Add new Rows in my Gridview on button click event of the (Button)control.
1)how can i add the new rows inside of a Gridview on Button click event.
2)The row also contains Dropdownlist control which is going to be filled from Database table.
how can i met the above 2 requirements.

Pl Reply,

Vani Kulkarni 13-Jul-12 0:52am
What have you tried till now and where are you facing issues?
Ankur\m/ 13-Jul-12 0:55am
Update the Data Source bound to the GridView and rebind it. Binding a DropDownList isn't a big deal as well.
Have you tried anything? Let us know where you are failing.

1 solution

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