Justin Cooney

Web Development Tips and Examples

Category: GridView

  • I have been using Visual Studio’s Declarative WebForms programming model lately to quickly create Web-based form interfaces. As part of this process I have been making extensive use of control binding using the Eval() and Bind() statements, and in some cases even the old ASP Response.Write syntax. As part of my review, I will use this…

  • Introduction: Visual Studio allows developers to quickly put together a WebForms page simply using drag and drop options from the Visual Studio editor. Binding form controls is mostly a simple matter of attaching a DataSource and setting your controls to reference the correct field in the DataSource. Binding a GridView control can sometimes get tricky when…

  • Today Luvy and I looked at updating the logic for an ASP.NET forms page that we are working on. The page contains a multi-row update-able GridView, and we were asked to make sure that if one CheckBox control was unchecked, that another CheckBox  control on the same grid line would also uncheck itself. We chose to handle…