.Net doesn't support server side cursors, not yet. It's supposed to be
available in the next version (2.0?). And paging in a stored procedure is
done by a couple SELECT TOP statements, I can post a sample code here.
Jerry
I appreciate your attention to my posts. I think I have a clear picture of
what you're describing. However, how would that tie into the scrollbar of
the List or Datagrid displaying this data? How would I make the call to get
the next page as I'm scrolling up or down? I noticed that the ASP.Net
Datagrid has this functionality built into it, yet the Windows Datagrid does
not. I may be going against Microsofts paradigm, but this is what I've been
asked to do.
Jeff
> .Net doesn't support server side cursors, not yet. It's supposed to be
> available in the next version (2.0?). And paging in a stored procedure is
[quoted text clipped - 58 lines]
> > > >
> > > > Jeff
Jeff Haumesser - 17 May 2004 17:08 GMT
Correction! ASP .Net control doesn't have the scrolling functionality. I
stand corrected. However, my question still stands.
> I appreciate your attention to my posts. I think I have a clear picture of
> what you're describing. However, how would that tie into the scrollbar of
[quoted text clipped - 73 lines]
> > > > >
> > > > > Jeff
Jerry Pisk - 18 May 2004 00:19 GMT
You will have to handle that yourself. I've never coded a WinForms
application, in Win32 API you just handle the scroll bar messages and pull
in data as needed. I'm assuming there are events that are called when the
grid is scrolled, just put your data pulling code in there.
Jerry
> I appreciate your attention to my posts. I think I have a clear picture of
> what you're describing. However, how would that tie into the scrollbar of
[quoted text clipped - 73 lines]
> > > > >
> > > > > Jeff