PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Multiple Datagrids to scroll through

Reply

Multiple Datagrids to scroll through

 
Thread Tools Rate Thread
Old 03-08-2005, 12:02 PM   #1
Guest
 
Posts: n/a
Default Multiple Datagrids to scroll through


Hello. In SQL Server Query Analyzer, if I type in, say, 2 select queries,
it returns 2 datagrids of results, with a scrollbar on the right to scroll
between the 2 (or more) datagrids. I wanted to implement this in a vb.net
application I am writing. Does anyone know how this is done? Any example
code would be nice.


  Reply With Quote
Old 03-08-2005, 06:52 PM   #2
Chris
Guest
 
Posts: n/a
Default Re: Multiple Datagrids to scroll through

arch wrote:
> Hello. In SQL Server Query Analyzer, if I type in, say, 2 select queries,
> it returns 2 datagrids of results, with a scrollbar on the right to scroll
> between the 2 (or more) datagrids. I wanted to implement this in a vb.net
> application I am writing. Does anyone know how this is done? Any example
> code would be nice.
>
>


Why can't you just dynamically add X number of datagrids to the screen.
I would assume that it what the analyzer does.

Chris
  Reply With Quote
Old 04-08-2005, 08:40 AM   #3
Cor Ligthert [MVP]
Guest
 
Posts: n/a
Default Re: Multiple Datagrids to scroll through

Chris,

I don't know how it is done, however I assume something as
Set the two datagrids to the same datasource
Set by the added scrollbar the currencymanager.position of that

And let it go.

I have not tried it, however assume that it will go.

I hope this helps,

Cor


  Reply With Quote
Old 04-08-2005, 08:41 AM   #4
Cor Ligthert [MVP]
Guest
 
Posts: n/a
Default Re: Multiple Datagrids to scroll through

Arch

I don't know how it is done, however I assume something as
Set the two datagrids to the same datasource
Set by the added scrollbar the currencymanager.position of that

And let it go.

I have not tried it, however assume that it will go.

I hope this helps,

Cor



  Reply With Quote
Old 04-08-2005, 08:42 AM   #5
Cor Ligthert [MVP]
Guest
 
Posts: n/a
Default Re: Multiple Datagrids to scroll through

Chris

Sorry I was thinking about it and thought it was your question.

Cor


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off