473,402 Members | 2,046 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,402 software developers and data experts.

Strange Datagrid Behavior

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

Aug 31 '06 #1
3 1234

si***********@yahoo.com wrote:
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.

Sep 1 '06 #2
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
>
If you comment out the first table, does the second one work?

B.
Sep 3 '06 #3
si***********@yahoo.com wrote:
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

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

B.
Not sure. :)

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

B.

Sep 6 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: MrNobody | last post by:
Is it at all possible to override the default behavior of a DataGrid when the mouse is clicked on a row? I am having a problem where I am trying to select multiple rows in a DataGrid by...
4
by: Paul | last post by:
I sometimes get a timeout error when populating my datagrid, the code is WizardConnection.Open() UpdateCommand.CommandText = "EXECUTE sp_assign_user '" & PhysOffice.SelectedValue & "', '" &...
2
by: Peter Afonin | last post by:
Hello: I'm updating multiple rows in the datagrid, using the routine described in the article "Top Questions about the DataGrid Web Server Control": ...
1
by: Kepler | last post by:
I'm fighting a really strange bug that involves both a DataGrid and a Repeater disappearing on postback. The strange thing is that I've distilled the problem down to a simple program, that...
2
by: Jim Bancroft | last post by:
Hi everyone, I have a DropDownList I populate as outlined below. This is from my code-behind file: private void Page_Load(object sender, System.EventArgs e) { BindMyData(); DataBind(); }
1
by: anonymous | last post by:
Hello guys, I have a strange behaviour in my asp.net web page. My page contains a datagrid control, which has another nested datagrid as a user control. It works very well, when the user...
1
by: Chris | last post by:
Hey, I have a DataGrid that allows for a combobox in a column through a inherited DataGridColumnStyle and a inherited ComboBox. I have 3 of these columns in a row. The overall problem is that...
2
by: Antonio | last post by:
Good morning, everyone. Here is the strange behavior: I have a datagrid (dgPIs) with paging enabled. When I click to view any page in the grid, it runs the private void lnkIPReg method,...
0
by: rn5a | last post by:
A ASP.NET page has only a DataGrid control whose ID is "DGrid1". The Page_Load sub looks like this:: Sub Page_Load(.....) 'binding the DataGrid 'to some data source Dim child As Control For...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.