Click here to Skip to main content
15,918,742 members
Home / Discussions / C#
   

C#

 
GeneralRe: ClickOnce Deployment Error Pin
Judah Gabriel Himango16-May-07 5:40
sponsorJudah Gabriel Himango16-May-07 5:40 
QuestionWriting with WriteProcessMemory Pin
Webtijn15-May-07 3:22
Webtijn15-May-07 3:22 
AnswerRe: Writing with WriteProcessMemory Pin
Judah Gabriel Himango15-May-07 4:24
sponsorJudah Gabriel Himango15-May-07 4:24 
QuestionNetwork Bandwidth in Socket Programming Pin
SakthiSurya15-May-07 3:18
SakthiSurya15-May-07 3:18 
AnswerRe: Network Bandwidth in Socket Programming Pin
Dave Kreskowiak15-May-07 4:47
mveDave Kreskowiak15-May-07 4:47 
GeneralRe: Network Bandwidth in Socket Programming Pin
SakthiSurya15-May-07 18:52
SakthiSurya15-May-07 18:52 
GeneralRe: Network Bandwidth in Socket Programming Pin
Dave Kreskowiak16-May-07 13:19
mveDave Kreskowiak16-May-07 13:19 
QuestionHAShTable Value Pin
Jabeerbe15-May-07 3:11
Jabeerbe15-May-07 3:11 
AnswerRe: HAShTable Value Pin
Martin#15-May-07 3:16
Martin#15-May-07 3:16 
Questionsearch relational data in some tables and show result to treeView Pin
hdv21215-May-07 2:49
hdv21215-May-07 2:49 
QuestionAccess denied... Pin
simplicitylabs15-May-07 2:31
simplicitylabs15-May-07 2:31 
AnswerRe: Access denied... Pin
sam#15-May-07 2:38
sam#15-May-07 2:38 
GeneralRe: Access denied... Pin
simplicitylabs15-May-07 2:49
simplicitylabs15-May-07 2:49 
GeneralRe: Access denied... Pin
sam#15-May-07 3:01
sam#15-May-07 3:01 
AnswerRe: Access denied... Pin
Martin#15-May-07 2:50
Martin#15-May-07 2:50 
GeneralRe: Access denied... Pin
simplicitylabs15-May-07 3:01
simplicitylabs15-May-07 3:01 
GeneralRe: Access denied... Pin
Martin#15-May-07 3:04
Martin#15-May-07 3:04 
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

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.