1 global update button to update all rows in Gridview

M

mesut

Hi there,

I've a question. I would like to create a global update button to
update all changed records gridview.

e.g. A gridview contains 5 columns an 2 of the columns can be updated
by the user. (other 3 are readonly)
e.g. a column called Status is a dropdownlistbox the user can choose a
status of the product and the other column called instructions is a
text box, the user can type in any value.

So my gridview shows 15 rows and the user can update the status (ddL
box) and instructions (free textbox).
I was able to program to make an update button for each row by using
itemcommand event and update that particular row. That works fine, but
the users don't like this they only want 1 update button above or
below or in the datagrid and the user need to able to change the
status and instructions fields and just press 1 Update button to
update all rows in the gridview.

I looked on internet and MSDN library but I can't find a sample or a
direction..
I don't even know which events I need to use. Can someone point me
to a direction? or at least where to start

e.g. which events or website or an sample ?

thanks in advance,

mesut.
 

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

Staff online

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top