Need Help with Gridview RowState.
-
Hello, there, I'd like to know how I can change the rowState in GridView. I want to set every row to the edit state when open the gridview control. I made changes to rowCreated function of the grid view to change every datarow to the Edit state. But the it is not working at all. The following are the code. If (e.Row.RowType = DataControlRowType.DataRow) Then e.Row.RowState = DataControlRowState.Edit End If Will you please tell me what I should do to make it happen? Thank you so much in advance.
-
Hello, there, I'd like to know how I can change the rowState in GridView. I want to set every row to the edit state when open the gridview control. I made changes to rowCreated function of the grid view to change every datarow to the Edit state. But the it is not working at all. The following are the code. If (e.Row.RowType = DataControlRowType.DataRow) Then e.Row.RowState = DataControlRowState.Edit End If Will you please tell me what I should do to make it happen? Thank you so much in advance.