Conditional Gridview Text - Checkboxes

Posted on ASP.NET 101 See other posts from ASP.NET 101
Published on Thu, 21 Jun 2007 07:21:48 GMT Indexed on 2010/03/18 18:21 UTC
Read the original article Hit count: 287

Filed under:
This code sample shows how to either show or make invisible, a checkbox in each row of the Gridview, along with making text conditional, based on certain criteria. In this case, if the Postal code starts with a non-numeric character, we change it to "Alt Text", and we set the Visible property of the checkbox in that row to "False"

© ASP.NET 101 or respective owner