Monday, January 24, 2011

Row Count is always equal to page size when allow paging set to true.

This can be resolved by adding followings before call row count


Gridview1.AllowPaging=false;
GridView1.Datasource=yourdatasource;
Gridview1.DataBind();
//row count
GridView1.AllowPaging=true;
 

No comments:

Post a Comment

How to Create Events Using Microsoft Graph API with Delegated Permissions and MSAL.js

Microsoft Graph API provides powerful capabilities to interact with Microsoft 365 services. In this guide, we’ll explore how to create calen...