G
Guest
In ASP (pre .NET) I referenced components by
MyObj = Server.CreateObject("DllName.Classname")
In .NET, I know that to reference the Sql namespace I use
<%@ Import Namespace="System.Data.SqlClient" %>
What I am trying to do:
I have an ASP web application that uses VB 6 com components and I am trying
to convert it to .NET. The asp page instantiates a COM component that
returns a recordset (ADO) and displays it on the page. I am trying to do it
in .NET with .NET components in my application and display the data with a
SqlDataReader.
Thanks,
Jerry
MyObj = Server.CreateObject("DllName.Classname")
In .NET, I know that to reference the Sql namespace I use
<%@ Import Namespace="System.Data.SqlClient" %>
What I am trying to do:
I have an ASP web application that uses VB 6 com components and I am trying
to convert it to .NET. The asp page instantiates a COM component that
returns a recordset (ADO) and displays it on the page. I am trying to do it
in .NET with .NET components in my application and display the data with a
SqlDataReader.
Thanks,
Jerry