I need to be able to perform the creation of HTML controls (i.e. Tables, form controls) from inside of a DLL in vb.Net

I have searched Goggle far and wide for what Import statement references the HTML objects.

Imports System.Web doesn't do it.

I would like to do something like:

Dim myTable AS Table <--- can do this in asp.Net

Does anyone know the Import or the Microsoft DLL that can be used to do this?

Thanks

System.Web.UI.HtmlControls

System.Web.UI.HtmlControls

Thanks for getting me started on it!!!

The actual manner to perform this is:

Create a (dll) reference to : System.Web

Then before the Class definition:
Imports System.Web.UI.HtmlControls

Then in the program code :

Dim myTable As New HtmlTable
    myTable.ID = "ASDFADSF"

    Dim myTR As New HtmlTableRow
    myTR.ID = "Whatever"

    Dim myTD As New HtmlTableCell
    myTD.ID = "whatever"
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.