Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.mobile
Creating Dynamic instance in C#
Karthik
8/18/2003 1:01:00 PM
hi
How to create a instace of class.when the class name is obtained from
textbox?
Please help me?
Thank you in Advance
Regards
Karthik
1 Answer
jimblizz [ms]
8/24/2003 11:26:00 PM
0
Hi Kathie,
Use the Assembly.Load() method. See:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyClassLoa...
(watch for line breaks in the hyperlink)
Hope this helps,
bliz
--
Jim Blizzard |
http://weblogs.asp.net...
Sr .NET Developer Specialist
Microsoft
Your Potential. Our Passion.
This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only, so that others may benefit. Thanks.
"Karthik" <karthik@vishwak.com> wrote in message
news:OHOxBiYZDHA.652@tk2msftngp13.phx.gbl...
> hi
>
> How to create a instace of class.when the class name is obtained from
> textbox?
> Please help me?
>
> Thank you in Advance
> Regards
> Karthik
>
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Creating Dynamic instance in C#
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password