Click here to Skip to main content
16,012,821 members
Home / Discussions / C#
   

C#

 
GeneralRe: Pretty Weird Request Here... Pin
matthias s.19-Jun-04 23:37
matthias s.19-Jun-04 23:37 
GeneralRe: Pretty Weird Request Here... Pin
Heath Stewart20-Jun-04 10:00
protectorHeath Stewart20-Jun-04 10:00 
Generalsharing object placed on a form, in all other forms. Pin
Member 114126619-Jun-04 5:02
Member 114126619-Jun-04 5:02 
GeneralRe: sharing object placed on a form, in all other forms. Pin
Heath Stewart19-Jun-04 8:19
protectorHeath Stewart19-Jun-04 8:19 
GeneralRe: sharing object placed on a form, in all other forms. Pin
Member 114126620-Jun-04 1:02
Member 114126620-Jun-04 1:02 
Generalsaving collection automaticaly into form`s code file.(or resource) Pin
Member 114126619-Jun-04 4:52
Member 114126619-Jun-04 4:52 
GeneralRe: saving collection automaticaly into form`s code file.(or resource) Pin
Heath Stewart19-Jun-04 8:15
protectorHeath Stewart19-Jun-04 8:15 
Generaldatatable in class, XMLserialization Pin
Member 114126619-Jun-04 4:50
Member 114126619-Jun-04 4:50 
I have a class. I can serialize my class by XmlSerializer.
but when i add a DataTable property in the class, XmlSerializer submit an error in this code:
XmlSerializer serializer = new XmlSerializer(typeof(MyCoulumnClollectionClass));

====>>>>
public class SCol
{
[XmlElement(ElementName = "TaxRate")]
public string FieldName
{
get
{
return m_ ;
}
set
{
m_=value ;
}
}
public string DisplayName ;
//````````````````
public DataTable m_columnTable ;
private string m_ ;
[XmlElement]
public string AAAA ;
}
public class MyCoulumnClollectionClass : CollectionBase
{
public SCol this[ int index ]
{
get
{
return( (SCol) List[index] );
}
set
{
List[index] = value;
}
}
public int Add( SCol value )
{
return( List.Add( value ) );
}

public int IndexOf( SCol value )
{
return( List.IndexOf( value ) );
}

public void Insert( int index, SCol value )
{
List.Insert( index, value );
}

public void Remove( SCol value )
{
List.Remove( value );
}

public bool Contains( SCol value )
{
return( List.Contains( value ) );
}
}
GeneralRe: datatable in class, XMLserialization Pin
Heath Stewart19-Jun-04 8:13
protectorHeath Stewart19-Jun-04 8:13 
GeneralRe: datatable in class, XMLserialization Pin
Member 114126619-Jun-04 23:22
Member 114126619-Jun-04 23:22 
GeneralRe: datatable in class, XMLserialization Pin
Heath Stewart20-Jun-04 9:57
protectorHeath Stewart20-Jun-04 9:57 
QuestionCalling the default ctor from an overloaded ctor? Pin
matthias s.19-Jun-04 3:38
matthias s.19-Jun-04 3:38 
AnswerRe: Calling the default ctor from an overloaded ctor? Pin
leppie19-Jun-04 4:20
leppie19-Jun-04 4:20 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
matthias s.19-Jun-04 5:12
matthias s.19-Jun-04 5:12 
AnswerRe: Calling the default ctor from an overloaded ctor? Pin
Nick Parker19-Jun-04 4:32
protectorNick Parker19-Jun-04 4:32 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
matthias s.19-Jun-04 5:14
matthias s.19-Jun-04 5:14 
AnswerRe: Calling the default ctor from an overloaded ctor? Pin
Colin Angus Mackay19-Jun-04 4:41
Colin Angus Mackay19-Jun-04 4:41 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
Nick Parker19-Jun-04 4:47
protectorNick Parker19-Jun-04 4:47 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
Colin Angus Mackay19-Jun-04 5:07
Colin Angus Mackay19-Jun-04 5:07 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
Nick Parker19-Jun-04 5:37
protectorNick Parker19-Jun-04 5:37 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
matthias s.19-Jun-04 5:10
matthias s.19-Jun-04 5:10 
GeneralRe: Calling the default ctor from an overloaded ctor? Pin
Heath Stewart19-Jun-04 7:19
protectorHeath Stewart19-Jun-04 7:19 
GeneralTwo RTF Questions Pin
XanderSon19-Jun-04 3:18
XanderSon19-Jun-04 3:18 
GeneralRe: Two RTF Questions Pin
Heath Stewart19-Jun-04 7:14
protectorHeath Stewart19-Jun-04 7:14 
GeneralRe: Two RTF Questions Pin
XanderSon19-Jun-04 13:51
XanderSon19-Jun-04 13:51 

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.