Strange Datagrid Behavior

  • Thread starter Thread starter simchajoy2000
  • Start date Start date
S

simchajoy2000

Hi,

I am using a datagrid which contains a dataset with several tables and
I am experiencing an inexplicable behavior that I am unable to resolve.
Perhaps it's due to the complexity of my scenario which I will briefly
describe here just in case it is a factor:

I am querying an Access database and displaying the results in a
Datagrid - then the user can perform additional queries based on the
displayed Access information and I then display these results in
another datagrid. This datagrid will contain a dataset of multiple
datatables.

The problem is that for some reason, in the second datagrid, it does
not display the data, even when I can check programmatically and see
that the data is there. The columns appear with the correct number of
rows but in every row the data does not appear, it is just blank.

I am using the default settings for the dataview - I am not messing
with that at all. Neither am I using a DataGridTableStyle - which in
any case wouldn't be the source of the problem since the correct number
of columns and column names is appearing.

Has anyone encountered this before? Any help would be greatly
appreciated since I am not sure how to further troubleshoot this
problem.

Thanks!!

Joy
 
Hi,

I am using a datagrid which contains a dataset with several tables and
I am experiencing an inexplicable behavior that I am unable to resolve.
Perhaps it's due to the complexity of my scenario which I will briefly
describe here just in case it is a factor:

I am querying an Access database and displaying the results in a
Datagrid - then the user can perform additional queries based on the
displayed Access information and I then display these results in
another datagrid. This datagrid will contain a dataset of multiple
datatables.

The problem is that for some reason, in the second datagrid, it does
not display the data, even when I can check programmatically and see
that the data is there. The columns appear with the correct number of
rows but in every row the data does not appear, it is just blank.

I am using the default settings for the dataview - I am not messing
with that at all. Neither am I using a DataGridTableStyle - which in
any case wouldn't be the source of the problem since the correct number
of columns and column names is appearing.

Has anyone encountered this before? Any help would be greatly
appreciated since I am not sure how to further troubleshoot this
problem.

Thanks!!

Joy

If you comment out the first table, does the second one work?

B.
 
I'm not sure if this answers your question but as you know, when you
set the datasource to a dataset, you can access all the tables in the
dataset - when I click on each one I get the same problem - the data is
not displayed and there are blanks in every cell.

Does that help?

Joy
 
I'm not sure if this answers your question but as you know, when you
set the datasource to a dataset, you can access all the tables in the
dataset - when I click on each one I get the same problem - the data is
not displayed and there are blanks in every cell.

Does that help?

Joy

Not sure. :)

So, the first ones clicked always works, and the second always fails,
no matter which is clicked first, and which second?

B.
 
Back
Top