473,320 Members | 1,612 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,320 software developers and data experts.

Problems with Datagrid with a tables Styles Tablestyles

Hi all,

once more I come here with a really Easy one for you :

I got a datagrid, Wich I Set the datasources to be an Dataview.

So far so good,

I just added a TableStyles to it and into the tableStyle I can't select
anything into MappingName ("None") is the only choice.

I did an Other Grid with my supplier and I had no difficulty to put the
Dataview into the MappingName Property.

Can someone help me on that one ?

Marc R.


Jan 15 '06 #1
1 819

"Marc R." <No****@NewgroupsONLY.com> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
Hi all,

once more I come here with a really Easy one for you :

I got a datagrid, Wich I Set the datasources to be an Dataview.

So far so good,

I just added a TableStyles to it and into the tableStyle I can't select
anything into MappingName ("None") is the only choice.

I did an Other Grid with my supplier and I had no difficulty to put the
Dataview into the MappingName Property.

Can someone help me on that one ?

Marc R.

I found the Bug,

We need to build the DatagridTableStyle with the datasource on the
Dataset.datatable directly then, went complete, Switch Datasource to
Dataview (of same table) then it works.

I thought ppl like to know that one .

Marc R.


Jan 15 '06 #2

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

Similar topics

6
by: Das | last post by:
Hi everyone, I'm using datagrid control to display the data. I want to hide column to be displayed into the data grid. I'm using the code as given below: Method given below is used to bind the...
24
by: Mike L | last post by:
This is for a Win form, in C# 2005. I want to load a datagrid, make some columns width 0, and then clean out the record I added. I get the error message, ""Index was out of range. Must be...
2
by: CSL | last post by:
I am using the DataGrid in a Windows Application, how can I adjust the widths of each column individually.
2
by: Dave Edwards | last post by:
Hi Folks, Can someone help me out with this code, all i'm trying to do is format my datagrid so that I have the first col of 120 and the second of 400, but i keep getting "An unhandled...
0
by: Mike Gorgone | last post by:
Hi All, I'm currently trying to show a datagrid with a parent and child table realtionship. I've got the expansion icon (+) in the row headers and when I click on it I see the link to the child...
4
by: Hexman | last post by:
I was going along fine in my test to see how to manipulate the DataGrid (dgTrans) and its columns. I have a single form with one DataGrid (dgTrans) on it. The code I have in my form load event...
3
by: Peter | last post by:
I am using ArrayDataView from the following link, my question is how do I apply column styles to this DataGrid that uses ArrayDataView instead of DataSet ...
2
by: dmi | last post by:
Problems come when i added few table styles into DataGridTableStyle Collection and then trying to get the current TableStyle. On first, ecxcuting this code dgEmployees.DataSource =...
0
by: tshad | last post by:
On my VS 2003 Windows Forms page I am trying to reuse my DataTable dependant on the users preference. This is easy in Asp.net, but apparently not as easy here. If I do the following code, where...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.