EmersonH.Com

Transforming Knowledge into Power

  • Increase font size
  • Default font size
  • Decrease font size
Home VB.Net 2008 DataGridView Using objects

Using objects

E-mail Print
''' 
''' This class contains two properties.
'''

Public Class Test

Public Sub New(ByVal name As String, ByVal cost As String)
_name = name
_cost = cost
End Sub

Private _name As String
Public Property Name() As String
Get
Return _name
End Get
Set(ByVal value As String)
_name = value
End Set
End Property


Private _cost As String
Public Property Cost() As String
Get
Return _cost
End Get
Set(ByVal value As String)
_cost = value
End Set
End Property

End Class
Last Updated on Monday, 21 December 2009 17:41