vb System.Web.UI.DataBinder类(方法)实例源码

下面列出了vb System.Web.UI.DataBinder 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:System.Web.U   
Namespace ASPSample

    Public Class Product
        Private _Model As String
        Private _UnitPrice As Double

        ' The product Model.
        Public Property Model() As String
            Get
                Return _Model
            End Get
            Set(ByVal Value As String)
                _Model = Value
            End Set
        End Property

        ' The price of the each product.
        Public Property UnitPrice() As Double
            Get
                Return _UnitPrice
            End Get
            Set(ByVal Value As Double)
                _UnitPrice = Value
            End Set
        End Property


        Public Sub New(ByVal Model As String, ByVal UnitPrice As Double)
            _Model = Model
            _UnitPrice = UnitPrice
        End Sub

    End Class

End Namespace


问题


面经


文章

微信
公众号

扫码关注公众号