like i wnat to add 2 row in grideview i select value from dropdownlist of list box is 2 and add 2 rows in gridview please give me suggest or give me code for this.
gridview row
i aI have web page in this this page i use gridview and in this gridview i have textbox. Now i want to add new row using dropdown list value.and this dropdownlist out side the gridview.
Khan Abrar AhmedPosted May 26, 2014, 1:54 AM
on the drop down selected index change event check the selected value and call the gridview bind method or if you want to bind in the existing gridview you logic should flow like this.
1. On selected index change event of drown.
2. call the gridview get list method to get the list from gridview.
3. add the listitem in the fetch list.
4. bind the gridview.
vishal sutharPosted May 24, 2014, 2:42 AM