GridView Paging: Binding to Oracle Stored Procedure

S

sck10

Hello,

How do you turn on paging on a GridView? I am binding a stored procedure in
my code file using the following:

OracleDataReader sdrSearch = cmdSearch.ExecuteReader();
this.gvSearchList.DataSource = sdrSearch;
this.gvSearchList.DataBind();

On my GridView, I have AllowPaging="True". However, when I set
AllowPaging=True, no records show up. When it is set to "False", then it
works. Also, occasionally, I will be calling large datasets.

Any help with this would be appreciated.

Thanks, sck10
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top