lets say i have 3 datasets in my project and than i build it so i get a DLL

now i am working a second project that has an openfiledialog, where i choose
this DLL from my first project...now i want to get one of the three datasets
that are in this dll...how can i do that?

anyone?

Re: How to load dataset from DLL?? by Sahil

Sahil
Sat Jun 19 10:35:16 CDT 2004

So the 3 datasets are strongly typed datasets? with equivalent
representations as classes?

If you are requesting the file using OpenFileDialog, you can access the
datasets in it (which are nothing but classes) using reflection.

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/



"Adolf" <myemail@email.si> wrote in message
news:eYQL$1gVEHA.3428@TK2MSFTNGP12.phx.gbl...
> lets say i have 3 datasets in my project and than i build it so i get a
DLL
>
> now i am working a second project that has an openfiledialog, where i
choose
> this DLL from my first project...now i want to get one of the three
datasets
> that are in this dll...how can i do that?
>
> anyone?
>
>



Re: How to load dataset from DLL?? by Adolf

Adolf
Sat Jun 19 10:54:50 CDT 2004

reflection? what is a reflection? i am a newbie...so if you can please show
me an example..i will be very grateful

thx

"Sahil Malik" <nospam@ms.com> wrote in message
news:%23iioFMhVEHA.1380@TK2MSFTNGP09.phx.gbl...
> So the 3 datasets are strongly typed datasets? with equivalent
> representations as classes?
>
> If you are requesting the file using OpenFileDialog, you can access the
> datasets in it (which are nothing but classes) using reflection.
>
> - Sahil Malik
> Independent Consultant
> You can reach me thru my blog at -
> http://www.dotnetjunkies.com/weblog/sahilmalik/
>
>
>
> "Adolf" <myemail@email.si> wrote in message
> news:eYQL$1gVEHA.3428@TK2MSFTNGP12.phx.gbl...
> > lets say i have 3 datasets in my project and than i build it so i get a
> DLL
> >
> > now i am working a second project that has an openfiledialog, where i
> choose
> > this DLL from my first project...now i want to get one of the three
> datasets
> > that are in this dll...how can i do that?
> >
> > anyone?
> >
> >
>
>



Re: How to load dataset from DLL?? by Sahil

Sahil
Sat Jun 19 11:47:07 CDT 2004

Look at MSDN for System.Reflection namespace. It's pretty simple, and MSDN
has good code examples.

Reflection is what allows you to load/read and execute assemblies at
runtime.

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/



"Adolf" <myemail@email.si> wrote in message
news:O2FDtWhVEHA.2544@TK2MSFTNGP10.phx.gbl...
> reflection? what is a reflection? i am a newbie...so if you can please
show
> me an example..i will be very grateful
>
> thx
>
> "Sahil Malik" <nospam@ms.com> wrote in message
> news:%23iioFMhVEHA.1380@TK2MSFTNGP09.phx.gbl...
> > So the 3 datasets are strongly typed datasets? with equivalent
> > representations as classes?
> >
> > If you are requesting the file using OpenFileDialog, you can access the
> > datasets in it (which are nothing but classes) using reflection.
> >
> > - Sahil Malik
> > Independent Consultant
> > You can reach me thru my blog at -
> > http://www.dotnetjunkies.com/weblog/sahilmalik/
> >
> >
> >
> > "Adolf" <myemail@email.si> wrote in message
> > news:eYQL$1gVEHA.3428@TK2MSFTNGP12.phx.gbl...
> > > lets say i have 3 datasets in my project and than i build it so i get
a
> > DLL
> > >
> > > now i am working a second project that has an openfiledialog, where i
> > choose
> > > this DLL from my first project...now i want to get one of the three
> > datasets
> > > that are in this dll...how can i do that?
> > >
> > > anyone?
> > >
> > >
> >
> >
>
>