473,405 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

WinForms, Fully Expand DataGrid

I have a Windows Forms application with a DataGrid attached to a
DataSet. The DataSet consists of some 36 tables. I would like to
expand all of the tables at once in the grid. Is there a way to do
that? Expand(-1) doesn't seem to be doing anything.

DataSet ds = report.GetDataSet();

reportGrid.DataSource = ds;
reportGrid.Expand(-1);

Nov 17 '05 #1
1 3296
I don't know that you can expand everything all at once, but look at this
link as the author provides some insights on how you can code it up to
support this functionality. They are writing for ASP.NET but the concept
should be exactly the same for windows forms.

http://www.dotnetjunkies.com/Tutoria...B55057FF3.dcik

"stork" <tb******@mightyware.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I have a Windows Forms application with a DataGrid attached to a
DataSet. The DataSet consists of some 36 tables. I would like to
expand all of the tables at once in the grid. Is there a way to do
that? Expand(-1) doesn't seem to be doing anything.

DataSet ds = report.GetDataSet();

reportGrid.DataSource = ds;
reportGrid.Expand(-1);

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: John Spiegel | last post by:
Hey all, I have contusions and I think a minor concussion after trying to find information on advanced WinForms DataGrid use. Does anyone know of a site / book that gets really in-depth on the...
2
by: andrewcw | last post by:
I am considering using the DataGrid to show my data. I will take the class data and serialize it / xml transform it or simply load it into a new XML document. The new XML document is essentially a...
1
by: Pieter | last post by:
Hi, In my application VB.NET 2005 application I placed a ReportViewer, and link it to a server-report: Me.ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote...
1
by: Pieter | last post by:
Hi, In my application VB.NET 2005 application I placed a ReportViewer, and link it to a server-report: Me.ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.