473,657 Members | 2,378 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Vs2005 datagridview bug.

Bob
During a form's development I noticed that when I changed bound dataset
defintions with the dataset designer (for instance adding a column to one),
when I come back and look at the form the ordering of the columns in the
datagridviews has changed. The column order that I designed is totally
different from what I had set using the datagridview column editor.

As far as I'm concerned this is a bug that should be addressed real quick.
its a pain having to reconfigure your column order on every data grid every
time you modify a dataset definition.

Bob
Jan 7 '06 #1
1 2362
Bob
Actually on further use, I did the following to reproduce behaviour.
I have a form with several related datagridviews and I have several
datasources that I can pick from. All this is bound.

I noticed that I had added a datagrid view using a wrong dataset that was
containing the good table but it was not pointing to the child table of the
master dataset so that I could get automatic correct relations between the
master and child datagridview.

I removed the wrong datagridview from the form, removed the objects
automatically inserted for databinding to that datagridview and the dragged
the correctly related datatable from my datasources to the form.
This action caused all the other datagridviews on the page to have their
columns reordered.

That, by my definition is aberrant behaviour and I call it a bug.

Microsoft, please fix that. Its a pain.
Bob

"Bob" <bd*****@sgiims .com> wrote in message
news:%2******** *******@TK2MSFT NGP15.phx.gbl.. .
During a form's development I noticed that when I changed bound dataset
defintions with the dataset designer (for instance adding a column to
one), when I come back and look at the form the ordering of the columns in
the datagridviews has changed. The column order that I designed is totally
different from what I had set using the datagridview column editor.

As far as I'm concerned this is a bug that should be addressed real quick.
its a pain having to reconfigure your column order on every data grid
every time you modify a dataset definition.

Bob

Jan 7 '06 #2

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

Similar topics

1
1207
by: Fizzer | last post by:
Hi, Does anyone have any code examples on using the DataGridView control in VS2005? Particularly on creating table styles as this seems to be different to the old DataGrid control.
6
6406
by: dbuchanan | last post by:
Hello, Is this a bug? Is there some kind of work around? I want to add default values for a few columns in my datagridview I found the "DefaultValuesNeeded" event for the datagridview I gave it a try using the example given in
2
1736
by: dbuchanan | last post by:
Hello, I want to open a child form based on the record selected in a dataGridView of the parent form. I want the child form to open with a populated child table based on the selected parent record. How do I get the ID of the selected record in the parent form's dataGridView so I can use it in filling the child form's dataGridView?
2
1286
by: vbt | last post by:
I am new to using the DataGridView and I have read most everything I can find on this subject. But obviously I am not see the hole picture. I am trying to update a data base using the DataGridView. The DataGridView displays the data correctly when the program is run. I am
3
1345
by: vbt | last post by:
I am using a DataGridView control. Using code, I would like to select a column by column number and have it sort the Data based on the select column. All examples I have found, presume that a column has been selected by the user first but this may not be the case.
0
984
by: tom | last post by:
I am working in VS2005 with the DataGridView. When I click on a cell and move on by clicking on another cell all the data is removed from the first cell. Is there a way to prevent this from happing? I have the DataGridView.EditMode set to “EditOnEnter”.
0
1299
by: frostbb | last post by:
Ok, We've got a bunch of apps that we've migrated from Net 1.0 to Net 2.0. The apps were basically upgraded using the VS2005 migrate. The user control that was using a DataGrid.IsSelected(i) in the original (Net 1.0) to find the 'Highlighted' rows in a datagrid is working fine. I've tried adding the DataGrid.IsSelected(i) code into a second migrated app to find the 'Highlighted' rows. In the 2nd program the
2
1620
by: frostbb | last post by:
The following code works great in C# Net 1.0 & Net 1.1 apps ... doesn't work for Net 2.0 apps. Cannot get pDg.IsSelected(i) to toggle to 'true' for 'highlighted' rows in a DataGrid control. private int CountSelectedDataGridRows(DataGrid pDg) { int i = 0;
2
8445
by: hnpatel | last post by:
Hi to All, How to use mouse click event for datagridview in c# in vs2005? I m using datagridview in c# application.I had bound data in datagridview.I want to display data in textbox when i click on appropriate row of the datagridview.Grid has only one event "cellcontentclick" is displayed.But i want to use "cellclick" or "selectionchanged" event of datagridview. So plz help me...How to do this....? Thax in advance.......
0
8838
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8613
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7351
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2740
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.