Error:Gridview editing and paging
-
I am getting an error in the gridview when the user clicks paging in the gridview while edit process is not finished.I am using dataset and adapter to bind the gridview . This is my error: 'System.Data.DataRowView' does not contain a property with the name 'version'. God is always with you.
-
I am getting an error in the gridview when the user clicks paging in the gridview while edit process is not finished.I am using dataset and adapter to bind the gridview . This is my error: 'System.Data.DataRowView' does not contain a property with the name 'version'. God is always with you.
In your dataset ,version column does not exist. bEst rEgard pAthan
please don't forget to vote on the post that helped you.
-
In your dataset ,version column does not exist. bEst rEgard pAthan
please don't forget to vote on the post that helped you.
No.No. It is working fine when editing alone is done without clicking on paging in the half way of editing. What r u trying to say?I can't understand. Regards, Saranya. God is always with you.
-
No.No. It is working fine when editing alone is done without clicking on paging in the half way of editing. What r u trying to say?I can't understand. Regards, Saranya. God is always with you.
Ok. first get normal mode from editing mode on paging event then write code for paging and rebind gridview. for example on pageIndexChanged event
GridView1.EditIndex=-1
GridView1.PageIndex=e.CurrentPageIndex;
//rebind GridviewbEst rEgard pAthan
please don't forget to vote on the post that helped you.
-
Ok. first get normal mode from editing mode on paging event then write code for paging and rebind gridview. for example on pageIndexChanged event
GridView1.EditIndex=-1
GridView1.PageIndex=e.CurrentPageIndex;
//rebind GridviewbEst rEgard pAthan
please don't forget to vote on the post that helped you.
Still it is not working.any solution else? God is always with you.