Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: ArrayList Indexing: Help Pin
Colin Angus Mackay24-Apr-04 14:25
Colin Angus Mackay24-Apr-04 14:25 
GeneralRe: ArrayList Indexing: Help Pin
Jon G24-Apr-04 14:36
Jon G24-Apr-04 14:36 
GeneralRe: ArrayList Indexing: Help Pin
Member 95766524-Apr-04 16:31
Member 95766524-Apr-04 16:31 
GeneralRe: ArrayList Indexing: Help Pin
Member 95766524-Apr-04 17:42
Member 95766524-Apr-04 17:42 
GeneralRe: ArrayList Indexing: Help Pin
Colin Angus Mackay25-Apr-04 1:22
Colin Angus Mackay25-Apr-04 1:22 
GeneralRe: ArrayList Indexing: Help Pin
Jeff Varszegi25-Apr-04 7:05
professionalJeff Varszegi25-Apr-04 7:05 
GeneralAdding a CheckBox column in DataGrid Pin
Jon G24-Apr-04 13:41
Jon G24-Apr-04 13:41 
GeneralRe: Adding a CheckBox column in DataGrid Pin
Heath Stewart25-Apr-04 4:26
protectorHeath Stewart25-Apr-04 4:26 
As I mentioned the other day, add a DataGridTableStyle to your DataGrid, which would have either DataGridTextBoxColumns, DataGridBoolColumns, or some custom DataGridColumnStyle. Make sure the DataGridTableStyle.MappingName matches-up with the table name (for data-binding to DataSets or DataTables) or class name (for binding against other IList or IListSource implementations).

Just see the documentation for the DataGridTableStyle in the Platform SDK for more information and an example, as well as the other classes and properties I mentioned above. It's really pretty simple, but you must make sure that your DataGridTableStyle.MappingName is correct or your table style doesn't get used.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Adding a CheckBox column in DataGrid Pin
Jon G25-Apr-04 6:58
Jon G25-Apr-04 6:58 
GeneralRe: Adding a CheckBox column in DataGrid Pin
Heath Stewart25-Apr-04 7:33
protectorHeath Stewart25-Apr-04 7:33 
GeneralRe: Adding a CheckBox column in DataGrid Pin
Appelz26-Apr-04 20:31
Appelz26-Apr-04 20:31 
GeneralGame Programming with C# Pin
Snews24-Apr-04 10:34
Snews24-Apr-04 10:34 
GeneralRe: Game Programming with C# Pin
Heath Stewart24-Apr-04 10:44
protectorHeath Stewart24-Apr-04 10:44 
GeneralRe: Game Programming with C# Pin
Snews24-Apr-04 10:51
Snews24-Apr-04 10:51 
GeneralRe: Game Programming with C# Pin
bjoernen24-Apr-04 11:23
bjoernen24-Apr-04 11:23 
GeneralRe: Game Programming with C# Pin
Judah Gabriel Himango24-Apr-04 13:24
sponsorJudah Gabriel Himango24-Apr-04 13:24 
GeneralRe: Game Programming with C# Pin
CWIZO24-Apr-04 23:56
CWIZO24-Apr-04 23:56 
GeneralRe: Game Programming with C# Pin
Jeff Varszegi25-Apr-04 7:14
professionalJeff Varszegi25-Apr-04 7:14 
GeneralRe: Game Programming with C# Pin
Judah Gabriel Himango27-Apr-04 19:21
sponsorJudah Gabriel Himango27-Apr-04 19:21 
GeneralRe: Game Programming with C# Pin
Jeff Varszegi28-Apr-04 2:11
professionalJeff Varszegi28-Apr-04 2:11 
GeneralRe: Game Programming with C# Pin
leppie25-Apr-04 0:08
leppie25-Apr-04 0:08 
GeneralTanks for the Ansers... Pin
Snews25-Apr-04 3:58
Snews25-Apr-04 3:58 
GeneralTree Data Structure Pin
William Blasko24-Apr-04 9:40
William Blasko24-Apr-04 9:40 
GeneralRe: Tree Data Structure Pin
Heath Stewart24-Apr-04 10:20
protectorHeath Stewart24-Apr-04 10:20 
GeneralDirectory Structure Pin
Heilmann24-Apr-04 4:26
sussHeilmann24-Apr-04 4:26 

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.