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

DataGridTableStyle problem

I have a Typed Dataset called InstrumentSet containing two tables. An
Instrument table and a joined Parameters table. The DataGrid that is
attached to the Parameters table shows more information than I need so I
tried to define a DataGridTableStyle to limit the displayed info but for
some reason I can't get it to work. I'm not sure what I'm doing wrong but
the code here:
http://sourcepost.sytes.net/sourcepo...ource_id=19226 fails
silently without errors or warnings. I'm guessing the problem may be in my
naming of the style.MappingName property but I've tried just about every
name I can think of and can't get it to work... Anybody have a clue as to
what's going on?
Nov 16 '05 #1
2 1386
Here is a link to one of the best locations I have used for dealing with the
datagrid. Would send you a fix, but don't have time so I thought you might be
able to get what you need here:

http://64.78.52.104/FAQ/WinForms/default.asp#44

Cheers!

Rob

"Chuck Bowling" wrote:
I have a Typed Dataset called InstrumentSet containing two tables. An
Instrument table and a joined Parameters table. The DataGrid that is
attached to the Parameters table shows more information than I need so I
tried to define a DataGridTableStyle to limit the displayed info but for
some reason I can't get it to work. I'm not sure what I'm doing wrong but
the code here:
http://sourcepost.sytes.net/sourcepo...ource_id=19226 fails
silently without errors or warnings. I'm guessing the problem may be in my
naming of the style.MappingName property but I've tried just about every
name I can think of and can't get it to work... Anybody have a clue as to
what's going on?

Nov 16 '05 #2
Thanks Rob.

"Rob Lykens" <Ro*******@discussions.microsoft.com> wrote in message
news:C6**********************************@microsof t.com...
Here is a link to one of the best locations I have used for dealing with
the
datagrid. Would send you a fix, but don't have time so I thought you might
be
able to get what you need here:

http://64.78.52.104/FAQ/WinForms/default.asp#44

Cheers!

Rob

"Chuck Bowling" wrote:
I have a Typed Dataset called InstrumentSet containing two tables. An
Instrument table and a joined Parameters table. The DataGrid that is
attached to the Parameters table shows more information than I need so I
tried to define a DataGridTableStyle to limit the displayed info but for
some reason I can't get it to work. I'm not sure what I'm doing wrong but
the code here:
http://sourcepost.sytes.net/sourcepo...ource_id=19226
fails
silently without errors or warnings. I'm guessing the problem may be in
my
naming of the style.MappingName property but I've tried just about every
name I can think of and can't get it to work... Anybody have a clue as to
what's going on?

Nov 16 '05 #3

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

Similar topics

0
by: Floela | last post by:
I want to set a the MappingName of a DataGridTableStyle to "ArrayList" in an ASP.NET page, but the class is stored in the System.Windows.Forms namespace. It won't let me import the namespace at...
2
by: Carlos | last post by:
Does DataGridTableStyle work in ASP.net ? any time I'm tring to define a varibale lke DataGridTableStyle MyStyle = new DataGridTableStyle(); it give me "The Type or name sapce...
2
by: Scott | last post by:
Hi all. A few days ago i ask this question and got a good quick response. I tried out what they said and it worked. However I have now come to try the same thing in another program and it...
2
by: Carlos | last post by:
Does DataGridTableStyle work in ASP.net ? any time I'm tring to define a varibale lke DataGridTableStyle MyStyle = new DataGridTableStyle(); it give me "The Type or name sapce...
2
by: kerpal | last post by:
Hi all, 1. Could anyone pls clarify the difference between setting the AlternatingBackColor property in DataGridTableStyle and in DataGrid?? 2. How come BackColor and AlternatingBackColor are...
2
by: Brett Romero | last post by:
I can't find what exactly I'm doing wrong that the following DataGridTableStyle is not working on my table. The result set returns 21 columns. I'm only formatting 5 via the TableStyle. I thought...
4
by: Brett Romero | last post by:
I have the following DataGridTableStyle: DataGridTableStyle gridTableStyle = new DataGridTableStyle(); gridTableStyle.MappingName = "myStyle"; DataGridTextBoxColumn dgsc = new...
3
by: nita | last post by:
I'm just starting out, and it's incredibly frustrating when I see sample code and then try to implement it. Case in point. I'm populating a collection then binding it to a datagrid. That works...
7
by: Mitchell S. Honnert | last post by:
Is there an equivalent of the DataGrid's DataGridTableStyle for the DataGridView? If not, is there an easy way to duplicate the DataGridTableStyle's functionality for the DataGridView? Here's...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.