ctwilliams
Programmer
In my classic ASP page, I instantiate the COM object like this...
I want to convert this to an ASP.NET page with a postback form where the user enters their username. I tried the following code but it gives me a Name 'DMCoreX' is not declared error...
Do I need to import a namespace or something at the top of my page?
Code:
Dim obj
Set obj = Server.CreateObject("DMCoreX.OBXPropertyBag")
obj.SetProperty ("username", request.form("username"))
I want to convert this to an ASP.NET page with a postback form where the user enters their username. I tried the following code but it gives me a Name 'DMCoreX' is not declared error...
Code:
DMCoreX.OBXPropertyBag obj = new DMCoreX.OBXPropertyBag()
obj.SetProperty ("username", username.Text)
Do I need to import a namespace or something at the top of my page?