Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2005

Tip: Looking for answers? Try searching our database.

Multiple Datagrids to scroll through

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
arch - 03 Aug 2005 11:57 GMT
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 - 03 Aug 2005 18:52 GMT
> 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
Cor Ligthert [MVP] - 04 Aug 2005 08:40 GMT
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] - 04 Aug 2005 08:42 GMT
Chris

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

Cor
Cor Ligthert [MVP] - 04 Aug 2005 08:41 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.