Introduction:
Here I will explain how to enable or disable checkbox in gridview
based on condition in asp.net using C#
and VB.NET.
Description:
In previous articles I explained Get Gridview row values when checkbox selected in asp.net, Convert gridview columns into hyperlink fields, Asp.net Interview questions, Export Gridview data to PDF, Send values from one page to another page using QueryString,
Joins in SQL Server and many articles relating to Gridview,
SQL ,jQuery,asp.net,
C#,VB.NET.
Now I will explain how to enable or disable checkboxes in asp.net
gridview
based on condition in C#
and VB.NET.
By using gridview
rowdatabound event we can enable / disable checkbox in gridview
based on certain conditions for that we need to write the code like as shown
below