filling rows with conditions in a gridview

ROUMBUNDUFF

New Member
I need to evaluate a condition from a database using linq so that a checkbox for each row enables or no, I think it can be done using the \[code\]RowDataBound\[/code\] or \[code\]CreateRow\[/code\] event.i.e, I have a gridview with several columns that are fillied with a datasource from linq. Out of all those columns two of them have each a checkbox, so if a record from the base is equal to one, only column2 with the checkbox for that row is enabled, if it's not equal to one, then it stays as it is.
 
Back
Top