Click here to Skip to main content
15,908,842 members
Home / Discussions / C#
   

C#

 
GeneralRe: Fastest way to convert from/to byte array Pin
Heath Stewart2-Jun-04 3:04
protectorHeath Stewart2-Jun-04 3:04 
GeneralPassing managed object through clipboard Pin
rkvs1-Jun-04 10:35
rkvs1-Jun-04 10:35 
GeneralRe: Passing managed object through clipboard Pin
Heath Stewart1-Jun-04 11:16
protectorHeath Stewart1-Jun-04 11:16 
GeneralRe: Remoting with Events Pin
Wouter Van Ranst1-Jun-04 10:20
Wouter Van Ranst1-Jun-04 10:20 
GeneralCustom Control Pin
rags1-Jun-04 9:33
rags1-Jun-04 9:33 
GeneralRe: Custom Control Pin
Heath Stewart1-Jun-04 9:57
protectorHeath Stewart1-Jun-04 9:57 
GeneralRe: Custom Control Pin
rags1-Jun-04 10:41
rags1-Jun-04 10:41 
GeneralRe: Custom Control Pin
Heath Stewart1-Jun-04 11:05
protectorHeath Stewart1-Jun-04 11:05 
Again, this has little to do with the DataGrid itself. What you need is derivatives of the DataGridColumnStyle, which means you must explicitly add DataGridTableStyles to the DataGrid.TableStyles collection property (see the documentation for more information). You can define table styles for multiple tables only once. The table style that matches up to a particular table (or typed array) will be used according to the DataGridTableStyle.MappingName property documentation in the .NET Framework SDK.

If you want a combo box, there is plenty of examples that have been discussed in this forum and are available both on this site and elsewhere on the Internet. There is a pretty good example on MSDN[^]. Just search.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Custom Control Pin
rags1-Jun-04 11:15
rags1-Jun-04 11:15 
GeneralRe: Custom Control Pin
Heath Stewart1-Jun-04 11:18
protectorHeath Stewart1-Jun-04 11:18 
GeneralRe: Custom Control Pin
Wackatronic1-Jun-04 9:57
Wackatronic1-Jun-04 9:57 
GeneralRe: Custom Control Pin
rags1-Jun-04 10:43
rags1-Jun-04 10:43 
GeneralLZW compression using C# Pin
Bettie1-Jun-04 9:08
Bettie1-Jun-04 9:08 
GeneralRe: LZW compression using C# Pin
Heath Stewart1-Jun-04 9:11
protectorHeath Stewart1-Jun-04 9:11 
GeneralRe: LZW compression using C# Pin
flipdoubt1-Jun-04 10:50
flipdoubt1-Jun-04 10:50 
GeneralRe: LZW compression using C# Pin
Heath Stewart1-Jun-04 11:07
protectorHeath Stewart1-Jun-04 11:07 
GeneralRe: LZW compression using C# Pin
flipdoubt1-Jun-04 11:09
flipdoubt1-Jun-04 11:09 
GeneralRe: LZW compression using C# Pin
Heath Stewart1-Jun-04 11:13
protectorHeath Stewart1-Jun-04 11:13 
GeneralRe: LZW compression using C# Pin
flipdoubt1-Jun-04 11:31
flipdoubt1-Jun-04 11:31 
GeneralIFormatProvider on DataGridTextColumn Pin
Anfernius1-Jun-04 8:46
Anfernius1-Jun-04 8:46 
GeneralRe: IFormatProvider on DataGridTextColumn Pin
Heath Stewart1-Jun-04 8:53
protectorHeath Stewart1-Jun-04 8:53 
GeneralRetreiving Application Icon Pin
ThisBytes51-Jun-04 8:43
ThisBytes51-Jun-04 8:43 
GeneralRe: Retreiving Application Icon Pin
Heath Stewart1-Jun-04 9:09
protectorHeath Stewart1-Jun-04 9:09 
GeneralRe: Retreiving Application Icon Pin
ThisBytes51-Jun-04 9:33
ThisBytes51-Jun-04 9:33 
GeneralRe: Retreiving Application Icon Pin
Heath Stewart1-Jun-04 9:36
protectorHeath Stewart1-Jun-04 9:36 

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.