DataGrid Update Question

D

Davey P

I have a datagrid that is made up of template columns(containing
dropdownlists and textboxes). I don't have an explicit edit mode, so values
in any/all of the rows can be changed at any time (as it is basically a data
entry screen). This leaves me with the problem that I need to capture ALL
changes made to the grid on EVERY postback (no matter what caused the
postback) and call my update command then.
Is there an event that fires every time a postback is made? I was thinking I
could place my update code in there. Thanks in advance.
 
B

Brock Allen

If you have a single "Update" button on your form then you could put your
update code in there. Otherwise look into Page_Load, as that gets called
upon every postback.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top