469,573 Members | 1,075 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,573 developers. It's quick & easy.

select multiple items from datagrid

Hello everyone

I have a web form that postback a datagrid that shows the most recent
(pending)requests submitted to the database. On this grid I would like the
user to have the ability to chose mutiple request items that changes the
status of the request to approve from pending with the click of the "approve
all request" command botton. Can anyone help me with the code to perform such
a batch job.
Thanks In Advance
kw
Aug 29 '06 #1
1 1615
You need to add a checkbox column on one side of the datagrid. When it is
posted back you should be able to access the values of the checkboxes from
the properties of the datagrid.

e.g
((CheckBox)grid1.Rows[x].Cells[y].Controls[0]).Checked
Sorry for the briefness but have got the time to check it out fully right now

Ciaran O'Donnell

"kw_uh97" wrote:
Hello everyone

I have a web form that postback a datagrid that shows the most recent
(pending)requests submitted to the database. On this grid I would like the
user to have the ability to chose mutiple request items that changes the
status of the request to approve from pending with the click of the "approve
all request" command botton. Can anyone help me with the code to perform such
a batch job.
Thanks In Advance
kw
Sep 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Erik | last post: by
6 posts views Thread by Ben Hallert | last post: by
7 posts views Thread by localhost | last post: by
3 posts views Thread by Zachary Hilbun | last post: by
2 posts views Thread by Bob Hollness | last post: by
2 posts views Thread by probashi | last post: by
1 post views Thread by Marisa | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.