Quantcast
Viewing all articles
Browse latest Browse all 13

Re: Where to set GridView.PageIndex first time control is displayed

Hi a2h,

Thank you for the reply.

I have tried to put gridViewGuestEntries.PageIndex = Int32.MaxValue; in Page_Load. I am not setting the DataSource property and calling DataBind method because I am using model binding and calling a method which returns the data.

I got the following error: "Arithmetic operation resulted in an overflow."


Viewing all articles
Browse latest Browse all 13

Trending Articles



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