Read-only in datagrid
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
i have a datagrid and i am able to insert and update the items. i am updating based on the productid so how can i keep the productid as read-only in update mode and still be able to insert the productid when i am in insert mode.
-
i have a datagrid and i am able to insert and update the items. i am updating based on the productid so how can i keep the productid as read-only in update mode and still be able to insert the productid when i am in insert mode.
You can use a TemplateColumn to do that :