Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declaring an object based on variable value
Message
From
20/01/2005 14:49:31
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Declaring an object based on variable value
Environment versions
Environment:
ASP.NET
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00979018
Message ID:
00979018
Views:
40
in VFP, we can do like this :

lcTEXT = "TEXTBOX"
loOBJ = createobject(lcTEXT)

in ASP.NET, I want to do the same

Dim lcTEXT As String = "TEXTBOX"
Dim loOBJ As New (lcTEXT)

I know this won't work. Is there any other way to do this?

Thanks..
Next
Reply
Map
View

Click here to load this message in the networking platform