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?
 
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.
0
 
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;
0
 
ba272Author Commented:
but to make this problem a bit more confusing, I did see it working on the deployment machine several days ago.
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
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
0
 
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

0
 
wlfsCommented:
w.r.t. = with respect to
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.