Make GridView TextBox ReadOnly (Disabled) in ASP.Net


The GridView with ReadOnly CustomerId TextBox

Customer IdNameCountry 
1John HammondUnited StatesEdit
2Mudassar KhanIndiaEdit
3Suzanne MathewsFranceEdit
4Robert SchidnerRussiaEdit

The GridView with Disabled CustomerId TextBox

Customer IdNameCountry 
1John HammondUnited StatesEdit
2Mudassar KhanIndiaEdit
3Suzanne MathewsFranceEdit
4Robert SchidnerRussiaEdit

© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.