If my GridView isn't bound to a SqlDataSource the edit control doesn't work
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
If I databind my GridView to a DataTable object instead of a SqlDataSource the Edit control doesn't change the non-readonly fields in my GridView to editable textboxes and change to Update/Cancel. It just executes the edit command without switching the UI of the GridView into textboxes so the user can edit the values. Is there a way to get it to get the Edit control in the GridView to behave the same way as when its bound to a SQL Data Source when its bound to a DataTable?