3
Shouts

Assign / Update the gridview Checkbox's Checked property value from a datafield that is of non-boolean datatype that is bound to a SQLDataSource.

published 1125 days, 22 hours, 24 minutes ago posted by dotnetfundadotnetfunda 1126 days, 6 hours, 24 minutes ago
Saturday, April 24, 2010 10:32:07 AM GMT Saturday, April 24, 2010 2:32:11 AM GMT

If we could have accessed the Bind method ,that implicitly performs two-way binding, in the code-behind then we could have just override the RowDatabound event and assigned the value to the gridview's checkbox control using the Bind method. But unfortunately the Bind is not available in ASP.Net 2.0 instead Eval only is available.

category: Web Dev | clicked: 0 | | source: www.dotnetfunda.com | show counter code

No comments yet, be the first one to post comment.

To post your comment please login or signup