Click here to Skip to main content
15,916,371 members
Home / Discussions / C#
   

C#

 
GeneralGDI GradientFill Pin
Mathew Hall15-Mar-05 14:33
Mathew Hall15-Mar-05 14:33 
GeneralRe: GDI GradientFill Pin
Christian Graus15-Mar-05 14:52
protectorChristian Graus15-Mar-05 14:52 
GeneralRe: GDI GradientFill Pin
Mathew Hall15-Mar-05 17:10
Mathew Hall15-Mar-05 17:10 
Generali want to know something Pin
snouto15-Mar-05 12:32
snouto15-Mar-05 12:32 
GeneralRe: i want to know something Pin
Christian Graus15-Mar-05 12:57
protectorChristian Graus15-Mar-05 12:57 
GeneralUsing the update command of the datagrid to alter the data in a dataset Pin
Anonymous15-Mar-05 12:18
Anonymous15-Mar-05 12:18 
GeneralReceiving SMS problem Pin
ccui15-Mar-05 10:18
ccui15-Mar-05 10:18 
GeneralDataGrid TableStyles Pin
dennista15-Mar-05 9:03
dennista15-Mar-05 9:03 
Hi All,

I'm kind of new to C# and I have a datagrid question. I have a master-detail form with databound controls. The selection is made by a combo box containing a list of all customers. There are then some databound text boxes with customer fields. And finally there is a data grid with a list of notes for the particular customer. To get all this to work together, I used the data table (customerDS.Customer) as the datasource for all controls. The individual fields are then the data members. For the grid, the Customers table is the datasource and the relation (Customer_CustomerNote) is the data member.

What I'm having trouble with is setting up TableStyles and ColumnStyles. I would like to change column widths, column headings, etc. on the grid. But even if I set up the TableStyles and ColumnStyles the way I want, the grid still displays as the default (i.e. all columns, field names from my dataset as column headings, etc.). For the Mapping Name for my TableStyle I use the data relation (Customer_CustomerNote) - it's the only choice in the dropdown list anyway. For Mapping Names for my ColumnStyles I drill down to Customer_CustomerNote --> (Individual field names).

If someone has any insight as to what I need to do or what I'm doing wrong I'd appreciate the help.

Thanks,
Dennis
GeneralRe: DataGrid TableStyles Pin
Kodanda Pani15-Mar-05 18:06
Kodanda Pani15-Mar-05 18:06 
GeneralRe: DataGrid TableStyles Pin
dennista16-Mar-05 3:31
dennista16-Mar-05 3:31 
GeneralFile IO in Webservice gives Error Pin
James Poulose15-Mar-05 8:21
James Poulose15-Mar-05 8:21 
GeneralRe: File IO in Webservice gives Error Pin
TylerBrinks15-Mar-05 9:46
TylerBrinks15-Mar-05 9:46 
QuestionHow to create a shallow copy of List<T> ? Pin
Andres Coder15-Mar-05 7:50
Andres Coder15-Mar-05 7:50 
AnswerRe: How to create a shallow copy of List<T> ? Pin
leppie15-Mar-05 8:51
leppie15-Mar-05 8:51 
GeneralSending a web form as parameter Pin
see0715-Mar-05 7:45
see0715-Mar-05 7:45 
GeneralRe: Sending a web form as parameter Pin
Pushkar Pathak15-Mar-05 18:16
Pushkar Pathak15-Mar-05 18:16 
GeneralRe: Sending a web form as parameter Pin
see0716-Mar-05 11:59
see0716-Mar-05 11:59 
GeneralRe: Sending a web form as parameter Pin
see0722-Mar-05 7:00
see0722-Mar-05 7:00 
GeneralRe: Sending a web form as parameter Pin
see0722-Mar-05 12:20
see0722-Mar-05 12:20 
GeneralSystem.Timers problem Pin
sjhart15-Mar-05 7:17
sjhart15-Mar-05 7:17 
GeneralRe: System.Timers problem Pin
TylerBrinks15-Mar-05 8:20
TylerBrinks15-Mar-05 8:20 
GeneralPassing Safearray parameter to WebBrowser COM component Pin
simcho9915-Mar-05 3:45
simcho9915-Mar-05 3:45 
QuestionHow to show a child form when parent form is busy? Pin
oohungoo15-Mar-05 3:25
oohungoo15-Mar-05 3:25 
AnswerRe: How to show a child form when parent form is busy? Pin
tdciDoug15-Mar-05 4:22
tdciDoug15-Mar-05 4:22 
GeneralRe: How to show a child form when parent form is busy? Pin
oohungoo15-Mar-05 19:18
oohungoo15-Mar-05 19:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.