Click here to Skip to main content
15,898,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: Remote connection Pin
Laddie21-May-08 20:31
Laddie21-May-08 20:31 
AnswerRe: Remote connection Pin
Vikram A Punathambekar21-May-08 20:31
Vikram A Punathambekar21-May-08 20:31 
QuestionHow to read value-type property of document? Pin
Prazwol21-May-08 18:54
Prazwol21-May-08 18:54 
QuestionC# Pin
SAGIR AHMAD21-May-08 18:20
SAGIR AHMAD21-May-08 18:20 
AnswerRe: C# Pin
dan!sh 21-May-08 18:21
professional dan!sh 21-May-08 18:21 
AnswerRe: C# Pin
Christian Graus21-May-08 18:38
protectorChristian Graus21-May-08 18:38 
AnswerRe: C# Pin
Hamid_RT21-May-08 20:18
Hamid_RT21-May-08 20:18 
QuestionHow to get instantiated object from a string Pin
Al Beback21-May-08 18:11
Al Beback21-May-08 18:11 
I need to use Reflection to retrieve the properties of a given object. That's easy. The problem is that I don't know which object to use until run-time. The object is already available and I can't use Reflection to re-create it since its constructor is not available. Let me clarify with some code:

object obj = GetInstantiatedObject(objectName);
 
Type type = obj.GetType();
foreach (PropertyInfo property in type.GetProperties())
{
  ....
}


Does anyone know what object GetInstantiatedObject(string objectName) should contain?

Thanks in advance!
Al

- Is God willing to prevent evil, but not able? Then he is impotent.
- Is he able, but not willing? Then he is malevolent.
- Is he both able and willing? Whence then is evil?
- Is he neither able nor willing? Then why call him God?
Epicurus


AnswerRe: How to get instantiated object from a string Pin
S. Senthil Kumar21-May-08 19:15
S. Senthil Kumar21-May-08 19:15 
GeneralRe: How to get instantiated object from a string Pin
Al Beback22-May-08 3:06
Al Beback22-May-08 3:06 
QuestionPDF to HTML/XLS Source Code Pin
Heracles Choe21-May-08 18:06
Heracles Choe21-May-08 18:06 
AnswerRe: PDF to HTML/XLS Source Code Pin
Christian Graus21-May-08 18:39
protectorChristian Graus21-May-08 18:39 
Question.NET Assemblies for Accpac Pin
Illegal Operation21-May-08 17:36
Illegal Operation21-May-08 17:36 
QuestionCloning Pin
ADTC#21-May-08 17:26
ADTC#21-May-08 17:26 
AnswerRe: Cloning Pin
Ennis Ray Lynch, Jr.21-May-08 17:37
Ennis Ray Lynch, Jr.21-May-08 17:37 
QuestionRe: Cloning Pin
ADTC#21-May-08 17:41
ADTC#21-May-08 17:41 
AnswerRe: Cloning Pin
Ennis Ray Lynch, Jr.21-May-08 17:48
Ennis Ray Lynch, Jr.21-May-08 17:48 
QuestionSimple question on maintaining sql server's table datastructure Pin
xbiplav21-May-08 17:20
xbiplav21-May-08 17:20 
AnswerRe: Simple question on maintaining sql server's table datastructure Pin
Laddie21-May-08 19:39
Laddie21-May-08 19:39 
QuestionMerging Graphics Pin
Xmen Real 21-May-08 16:06
professional Xmen Real 21-May-08 16:06 
AnswerRe: Merging Graphics Pin
Christian Graus21-May-08 16:37
protectorChristian Graus21-May-08 16:37 
AnswerRe: Merging Graphics Pin
Anthony Mushrow21-May-08 16:38
professionalAnthony Mushrow21-May-08 16:38 
GeneralRe: Merging Graphics Pin
Xmen Real 21-May-08 16:43
professional Xmen Real 21-May-08 16:43 
GeneralRe: Merging Graphics Pin
Christian Graus21-May-08 17:20
protectorChristian Graus21-May-08 17:20 
GeneralTieing data in a general DataView to a DataTable Pin
MAW3021-May-08 16:05
MAW3021-May-08 16:05 

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.