|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Strange Datagrid BehaviorI 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 simchajoy2***@yahoo.com wrote:
Show quoteHide quote > Hi, If you comment out the first table, does the second one work?> > 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 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 Show quoteHide quote > > If you comment out the first table, does the second one work? > > B. simchajoy2***@yahoo.com wrote:
> I'm not sure if this answers your question but as you know, when you Not sure. :)> 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 > > > > > If you comment out the first table, does the second one work? > > > > B. So, the first ones clicked always works, and the second always fails, no matter which is clicked first, and which second? B.
API FindFirstFile\FindNextFile vs GetFiles
How to Type cast ArrayList items to class objects Best practices for creating a "wizard" question about some good practises Return DataRow VB 2005 with Active Directory Application quit after button click use varible value in include file using com-port in VB.net How to use Resource files in VS 2005? |
|||||||||||||||||||||||