By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,971 Members | 1,467 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,971 IT Pros & Developers. It's quick & easy.

1 global update button to update all rows in Gridview

P: n/a
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.

Feb 19 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.