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.
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.