johnfraser
Programmer
Hi, I've used reflection in the past for the common need of getting methods from within an assembly an running it.
I have a new situation and reflection searches on google seem to turn up too much of the simple and not enough of what I'm looking for.
Basically I have an assembly that contains many "typed" datasets. I have created an application which outputs the dataset's to excel format for easy population by end users. The problem is on hydrating the dataset and giving it back to them in the "typed" version. Currently the code is working by giving them a generic DataSet....
So basically I have a string available that contains the exact object/type I need to create and pass back. The question is, can reflection give the ability to do this. If so, how?
Any direct help or links to potential similar situations are appreciated.
BTW, not my first post, just switched positions and needed a new account.
I have a new situation and reflection searches on google seem to turn up too much of the simple and not enough of what I'm looking for.
Basically I have an assembly that contains many "typed" datasets. I have created an application which outputs the dataset's to excel format for easy population by end users. The problem is on hydrating the dataset and giving it back to them in the "typed" version. Currently the code is working by giving them a generic DataSet....
So basically I have a string available that contains the exact object/type I need to create and pass back. The question is, can reflection give the ability to do this. If so, how?
Any direct help or links to potential similar situations are appreciated.
BTW, not my first post, just switched positions and needed a new account.