Here Mudassar Ahmed Khan has explained with an example, how to enable and disable Button in GridView based on condition in ASP.Net using C# and VB.Net.
The Enabled property of the Button is set with an Inline Expression which compares the value of the column and based on the value, True or False value is returned which is used to enable or disable the Button respectively.
↧