none
Referencing an System.Web.UI.WebControls.SqlDataSource RRS feed

  • Question

  • Hi,

    I am writing a VB class that sits behind a Web page to provide "enhaced" processing. The Web page includes an SqlDataSource that defines the source of the data I need to process and I would like to pass a reference into the control.

    However when I try to declare the property in the class,

    Public Property DataConnector() As System.Web.UI.SqlDataSource

    Get

    End Get

    Set(ByVal value As System.Web.UI.SqlDataSource)

    End Set

    End Property

    I get an error type System.Web.UI.SqlDataSource is not defined.

    Help would be appreciated.

    Thanks


    Paul Ireland
    Monday, February 2, 2009 4:30 PM

Answers