Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Working w/ Bound Column in Datagrid

Status
Not open for further replies.

meBrian

Programmer
Aug 7, 2001
73
US
Trying out some ASP and need a boost.

I have a datagrid with several bound columns and a checkbox. I want to accomplish the following process:

'Begin PsuedoCode
Dim dgItem As DataGridItem
Dim chkSelected As CheckBox
Dim bc As BoundColumn <--???

For Each dgItem In DataGrid1.Items
chkSelected = dgItem.FindControl("chkSelection")
if chkSelected.checked then
if bc = "something" <--???
bc = "new value" <--???

end if
end if
next
'End PsuedoCode

My problem is the syntax dealing with editing data in the bound column. I think I'm on the right track but I need a little help.

Thanks for the assistance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top