In a user contorl I need to have a asp.net grid view with dropdown,text box and checkboxes , whose values may be mapped from database if it exist or it will be
loaded as a default control. Then once user makes it seclection I need to save
the selected values in databse.
see the message below. This is how the grid view needs to look like:
Does any one have an example of some thing similar implemented???
I would have a button outside the grid that says “Save” onclick it loops in a foreach gridview row and gets the value of each dropdown, textbox, checkbox and saves to the database.
something like that, i use it all the time and works like a charm.
there’s also a way to postback from any control in your grid and do something with it, check it out, adsanti.wordpress.com