Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

PageIndex is Very Slow in GridView

$
0
0

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.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>