心有多高,就飞多高

天高任鸟飞

博客园 首页 联系 订阅 管理

Imports Microsoft.VisualBasic

Public Class sysDB
    Inherits System.Web.UI.WebControls.SqlDataSource
    Public Const connstr As String = "Data Source=localhost;Initial Catalog=HKGWH;Persist Security Info=True;User ID=sa;Password=password"
    Sub New()
        MyBase.New(connstr, "")
    End Sub
    Overloads Function [select]() As System.Collections.IEnumerable
        Return MyBase.Select(New System.Web.UI.DataSourceSelectArguments)

    End Function
    Overloads Function [select](ByVal argument As System.Web.UI.DataSourceSelectArguments) As System.Collections.IEnumerable
        Return MyBase.Select(argument)

    End Function
End Class

posted on 2007-03-08 11:11  lankoboy  阅读(148)  评论(0)    收藏  举报