Not exactly getting you.. seems that the problem occurs when you again visit the page having datagrid.. set the currentpageindex=0 where you are filling the datagrid.. update me... lokesh
bond with the best
Posts
-
Error with Datagrid paging -
Unavailable Servicefirst try this right click on to the folder containing your application and click on properties->web sharing here specify the alias name like WebApplication1..this will make that folder virtual but this not seem to be the problem here because your application's name(WebApplication1) suggests that you have created the application from visual studio IDE..which creates the virtual folder for the application automatically.. I think that you need to reinstall your IIS as i think it has been crashed...please try that...service unavailable message usually shown under this situation..
-
null member in datagridcheck for null values in the item data bound event of the datagrid and u can eliminate teh null rows there from.
-
Page Refreshyou must be binding the gridview somewhere...try to put that code in the Page Load Event..this way every time the page loaded,updated data will be loaded from the database.. Lokesh Sharma