datagrid\checkbox

  • Thread starter Thread starter gh
  • Start date Start date
G

gh

I am filling a datagrid at runtime with the values I want in the
columns. In some of the rows I would like to have a checkbox in the
last column for the user to check. Then when the user clicks the submit
button, I would like to be able to tell which check boxes were checked.
I can get the last column with checkboxes, but they show for each row
I populate in the datagrid. Is there a way to have the checkboxes
appear for certain rows only?

TIA
 
Hi GH,

You set checkbox's visible to false in datagrid_ItemDataBound event upon
condition.

HTH

Elton Wang
 
Back
Top