I am binding the Data to GridView nearly a 2 lakhs of records.
SO it's loading performance is very slow and also i set page size=50.
Per page it showing 50 records.when i clicked the page index 20 it is loading very slow.
I written simple Stored Procedure to Get the values from Table.
Create Procedure get_data()
As
Begin
select col1,col2,col3....etc from table name as t1 inner join
table name as t2 on t1.col1=t2.col1
End
I have Joined so Many Table in above stored procedure.
How to Improve the Performance of Loading Page.
I used the Asp.net GridView OnPageIndexChanged Event.
protected void Grid_PageIndexChanged(Object sender, DataGridPageChangedEventArgs e)
{
CurrentPageIndex = e.NewPageIndex;
BindDataGrid();
}
Please help me.
How to solve.
Thanks.