Connecting Tech Pros Worldwide Forums | Help | Site Map

Multiple Datagrids to scroll through

Guest
 
Posts: n/a
#1: Nov 21 '05
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.



Chris
Guest
 
Posts: n/a
#2: Nov 21 '05

re: Multiple Datagrids to scroll through


arch wrote:[color=blue]
> 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.
>
>[/color]

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

Chris
Cor Ligthert [MVP]
Guest
 
Posts: n/a
#3: Nov 21 '05

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


Cor Ligthert [MVP]
Guest
 
Posts: n/a
#4: Nov 21 '05

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



Cor Ligthert [MVP]
Guest
 
Posts: n/a
#5: Nov 21 '05

re: Multiple Datagrids to scroll through


Chris

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

Cor


Closed Thread