Trouble in DataGrid paradise

Greetings,

I have a major problem deploying my program since the DataGrid displays correctly on my development machine, but not at all on my deployment machine.  The two machines have a different video resolution, but I have commented out all the
TableStyle code, and am quite puzzled of the cause of the problem.

My resolutions are: 1024 X 768 (development machine, working) and 1280 X 800 (deployment machine, not working).

On the deployment machine, the DataGrid displays as an empty area.  No columns, no rows.  Nothing.  On the development machine, I see a working DataGrid.  I even removed all TableStyles formatting, thinking this was causing the problem.  But that wasn't it.

Has anyone got any idea of anything I can try?  I'd really appreciate it.  I'm at my wit's end.


Bob
ba272Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ba272Author Commented:
I fogot to mention, I use an ArrayList as a DataSource. So, the only line of code in the Load function for the dialog is:

this.alertsDataGrid.DataSource = myArrayList;
ba272Author Commented:
but to make this problem a bit more confusing, I did see it working on the deployment machine several days ago.
ba272Author Commented:
I have a second DataGrid which works the same on both my development machine as it does on my deployment machine, but that one uses a DataSet as a DataSource.  So I am considering writing the contents of of my ArrayList to a database table, then creating a DataSet based on a query to that table.

This seems like a lot of work if it's unnecessary.  Hoping that this will give someone an idea of a possible cause of the problem.

Bob
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

wlfsCommented:
Hi Bob,

it's very difficult to comment on your problem since the cause could be just about everywhere :(
Just a few thoughts:
I doubt very much that the screen resolution could have an influence w.r.t. your problem.
Are you sure the content of myArrayList is the same on both machines? Did you double- or triple-check it? How is myArrayList generated? Maybe the problem is located there.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ba272Author Commented:
I've decided to proceed and fill the DataSet from Access, which my tests show will likely eliminate the problem.  I need better persistence of the list anyway, and have decided to go that way.

BTW: what's w.r.t.?

Bob

wlfsCommented:
w.r.t. = with respect to
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.