473,320 Members | 1,916 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,320 software developers and data experts.

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 2348
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***************@TK2MSFTNGP15.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
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
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...
2
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...
2
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...
3
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...
0
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...
0
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)...
2
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. ...
2
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.