Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi ,

VB
Dim s As New dataset
Dim s1 As String = s.Tables(0).Rows(0)("testColumn")

so, s1 should be always "customeValue" with column value .

I want make sure rows(0)(column) should always override a custom set value from class file like below,


VB
Private _myProperty As String

Public Property Rows() As String
    Get
        Return _myProperty
    End Get
    Protected Set(ByVal value As String)
        _myProperty = "customValue" & value
    End Set
End Property
Posted
Updated 2-Jul-12 6:42am
v2
Comments
Maciej Los 8-Aug-12 17:37pm    
Not sure what you want. Please, be more specific.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900