Click here to Skip to main content
16,007,814 members
Home / Discussions / C#
   

C#

 
GeneralDataGrid Pin
ImanMahmoud17-Sep-04 10:01
ImanMahmoud17-Sep-04 10:01 
GeneralRe: DataGrid Pin
Heath Stewart17-Sep-04 10:46
protectorHeath Stewart17-Sep-04 10:46 
GeneralRe: DataGrid Pin
ImanMahmoud17-Sep-04 11:45
ImanMahmoud17-Sep-04 11:45 
GeneralRe: DataGrid Pin
sreejith ss nair17-Sep-04 23:39
sreejith ss nair17-Sep-04 23:39 
QuestionHow to specify the default Toolbox Tab for a custom control Pin
shark9265117-Sep-04 9:51
shark9265117-Sep-04 9:51 
AnswerRe: How to specify the default Toolbox Tab for a custom control Pin
Heath Stewart17-Sep-04 10:42
protectorHeath Stewart17-Sep-04 10:42 
GeneralEasiest way to load this Pin
Joel Holdsworth17-Sep-04 9:44
Joel Holdsworth17-Sep-04 9:44 
GeneralRe: Easiest way to load this Pin
Heath Stewart17-Sep-04 10:28
protectorHeath Stewart17-Sep-04 10:28 
You can't load that with XML Serialization. Collection objects - even with the XmlRootAttribute, will always have ArrayOfSomething, depending on a number of factors. Now, if you change <Files> to <AudioFiles>, you may have a chance. If you derive an object-model where AutoFile extends File, you might also have a chance.

Basically, read about the attribute classes in System.Xml.Serialization for more information about how to control the serialization and deserialization of classes using XML.

In many cases, however, trying to derive an object model from XML is far more difficult than creating the object-model first then creating the XML format, if you can.

Also, any IList or IListSource is data-bindable, so any list class - like ArrayList - can be bound. Typically, though, it's better to derive your own IList implementation rather than use ArrayList because you can attribute it how you need.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles]
GeneralAdding control to a form delets the custom control from the form Pin
SandeepN17-Sep-04 6:47
SandeepN17-Sep-04 6:47 
GeneralRe: Adding control to a form delets the custom control from the form Pin
Jay Shankar17-Sep-04 15:57
Jay Shankar17-Sep-04 15:57 
GeneralRe: Adding control to a form delets the custom control from the form Pin
Jay Shankar17-Sep-04 16:03
Jay Shankar17-Sep-04 16:03 
Generalprotect my picture Pin
oOomen17-Sep-04 6:39
oOomen17-Sep-04 6:39 
GeneralRe: protect my picture Pin
Heath Stewart17-Sep-04 7:00
protectorHeath Stewart17-Sep-04 7:00 
GeneralUnbound checkbox column in datagrid Pin
blakeb_117-Sep-04 6:12
blakeb_117-Sep-04 6:12 
GeneralRe: Unbound checkbox column in datagrid Pin
sreejith ss nair17-Sep-04 23:50
sreejith ss nair17-Sep-04 23:50 
QuestionBeginner: How to use BitFlags? Pin
matthias s.17-Sep-04 5:19
matthias s.17-Sep-04 5:19 
AnswerRe: Beginner: How to use BitFlags? Pin
leppie17-Sep-04 5:32
leppie17-Sep-04 5:32 
AnswerRe: Beginner: How to use BitFlags? Pin
Heath Stewart17-Sep-04 6:28
protectorHeath Stewart17-Sep-04 6:28 
GeneralRe: Beginner: How to use BitFlags? Pin
matthias s.17-Sep-04 7:01
matthias s.17-Sep-04 7:01 
AnswerRe: Beginner: How to use BitFlags? Pin
Grimolfr17-Sep-04 7:31
Grimolfr17-Sep-04 7:31 
GeneralInvisible Text on Grid Pin
dbetting17-Sep-04 5:02
dbetting17-Sep-04 5:02 
QuestionIs this a compiler error? Pin
gordonpagan17-Sep-04 4:37
gordonpagan17-Sep-04 4:37 
AnswerRe: Is this a compiler error? Pin
leppie17-Sep-04 5:19
leppie17-Sep-04 5:19 
AnswerRe: Is this a compiler error? Pin
Steven Campbell17-Sep-04 7:46
Steven Campbell17-Sep-04 7:46 
GeneralWideChar Pin
yyf17-Sep-04 3:14
yyf17-Sep-04 3:14 

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.