Click here to Skip to main content
15,903,033 members
Home / Discussions / C#
   

C#

 
QuestionCustom WinForm Inheritance Pin
3green15-May-07 2:27
3green15-May-07 2:27 
AnswerRe: Custom WinForm Inheritance Pin
Martin#15-May-07 2:34
Martin#15-May-07 2:34 
QuestionHow to load class file dynamically in C# .Net Pin
jmavn15-May-07 2:24
jmavn15-May-07 2:24 
AnswerRe: How to load class file dynamically in C# .Net Pin
Giorgi Dalakishvili15-May-07 2:29
mentorGiorgi Dalakishvili15-May-07 2:29 
GeneralRe: How to load class file dynamically in C# .Net Pin
jmavn15-May-07 2:34
jmavn15-May-07 2:34 
GeneralRe: How to load class file dynamically in C# .Net Pin
Giorgi Dalakishvili15-May-07 2:44
mentorGiorgi Dalakishvili15-May-07 2:44 
AnswerRe: How to load class file dynamically in C# .Net Pin
Guffa15-May-07 3:03
Guffa15-May-07 3:03 
GeneralRe: How to load class file dynamically in C# .Net Pin
jmavn15-May-07 18:20
jmavn15-May-07 18:20 
Hi,
Why i am in need of this is i need to generate an XML by reading the properties from a Class file (in any language C#, VB.Net..etc).. for that i have to know the properties defined in those class files and based on the properties and datatype of those properties i need to generate a dynamic XML files
example

If a class file is something as

public Class A<br />
{<br />
private int number;<br />
private string name;<br />
<br />
public int Number<br />
{<br />
get {return number;}<br />
set {number = value;}<br />
}<br />
<br />
public string Name<br />
{<br />
get {return name;}<br />
set {name = value;}<br />
}<br />
}


based the above shown class, i have to generate by getting the properties of the class

<Bobject name="A"> <!-- "A" is class Name --><br />
<DataMember name="Number"> </DataMember> <!-- Member 1 --><br />
<DataMember name="Name"> </DataMemebr> <!-- Member 2 --><br />
</Bobject>


Like this i have to generate XML file.. For this i need to get the reflection of class, isnt it? Is any other way available to get the properties declared in a class file?

Expecting your reply.

Thankfully,
jm


Thankfully,
jm

AnswerRe: How to load class file dynamically in C# .Net Pin
Guffa15-May-07 21:48
Guffa15-May-07 21:48 
GeneralRe: How to load class file dynamically in C# .Net Pin
jmavn15-May-07 18:27
jmavn15-May-07 18:27 
AnswerRe: How to load class file dynamically in C# .Net Pin
mike montagne16-May-07 6:53
mike montagne16-May-07 6:53 
Questionrepeat of gui problem in MDI Pin
barak16048715-May-07 1:36
barak16048715-May-07 1:36 
AnswerRe: repeat of gui problem in MDI Pin
Alireza Loghmani22-May-07 21:41
Alireza Loghmani22-May-07 21:41 
QuestionDisable DataGridView auto selecting 1st row Pin
Gavin Roberts15-May-07 1:22
Gavin Roberts15-May-07 1:22 
AnswerRe: Disable DataGridView auto selecting 1st row Pin
Jabeerbe15-May-07 1:39
Jabeerbe15-May-07 1:39 
GeneralRe: Disable DataGridView auto selecting 1st row Pin
Gavin Roberts15-May-07 1:43
Gavin Roberts15-May-07 1:43 
GeneralRe: Disable DataGridView auto selecting 1st row Pin
Jabeerbe15-May-07 1:52
Jabeerbe15-May-07 1:52 
GeneralRe: Disable DataGridView auto selecting 1st row Pin
Gavin Roberts15-May-07 1:56
Gavin Roberts15-May-07 1:56 
GeneralRe: Disable DataGridView auto selecting 1st row Pin
Gavin Roberts15-May-07 1:58
Gavin Roberts15-May-07 1:58 
GeneralRe: Disable DataGridView auto selecting 1st row Pin
Jabeerbe15-May-07 2:05
Jabeerbe15-May-07 2:05 
GeneralRe: Disable DataGridView auto selecting 1st row Pin
Gavin Roberts15-May-07 2:18
Gavin Roberts15-May-07 2:18 
GeneralRe: Disable DataGridView auto selecting 1st row Pin
Gavin Roberts15-May-07 2:33
Gavin Roberts15-May-07 2:33 
AnswerRe: Disable DataGridView auto selecting 1st row Pin
Jimmanuel15-May-07 2:39
Jimmanuel15-May-07 2:39 
AnswerRe: Disable DataGridView auto selecting 1st row Pin
Member 782880424-Nov-18 12:02
Member 782880424-Nov-18 12:02 
Questionhow can i find component for receive picture from scanner in C#.net Pin
hamidreza esmaeily15-May-07 0:58
hamidreza esmaeily15-May-07 0:58 

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.