Click here to Skip to main content
14,970,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am having gridview with dropdownlist.
gridview will fill with Tabrequest table.
and dropdownlist have two values approve or deny.
so,if I am having three requests I may approve or deny it.
so I will select it through each dropdown.
so, the result (approve/deny) with request info should get save .
How I can do this please help me.
means bind result(approve/deny) with each row and save it.
on button click event I want all results get saved.
Posted
Updated 20-May-11 23:26pm
v2

this tutorial sample may help you
Tutorial :1[^]
Tutorial :2[^]
   
I am having gridview with dropdownlist.
gridview will fill with Tabrequest table.
and dropdownlist have two values approve or deny.
so,if I am having three requests I may approve or deny it.
so I will select it through each dropdown.
so, the result (approve/deny) with request info should get save .
How I can do this please help me.
means bind result(approve/deny) with each row and save it.
on button click event I want all results get saved
   
You can allow it one by one and write individually
   
v2
you can do by looping through all the rows and then save them
lets say - foreach (grdiviewrows gr in grd.rows){take values from different controls in that particular row and save it.}
   

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