Hi All,
I am trying to assign a string to a property of type string.The string contains value "ADcgy9392tYrq"...When i assign to the property it becomes "A".Here is my code
<serializable()>
Public Class BeanstreamHash
Private _merchantID As Long
Public Property MerchantID() As Long
Get
Return _merchantID
End Get
Set(ByVal value As Long)
_merchantID = value
End Set
End Property
Private _alphanumericValue As String
Public Property AlphanumericValue() As String
Get
Return _alphanumericValue
End Get
Set(ByVal value As String)
_alphanumericValue = value
End Set
End Property
End Class
and i am assigning it in
Dim result As String = DAL.GetAlphanumericValue(MerchantID)
If Not result Is Nothing Then
beanstreamhash = New CommonObjects.BeanstreamHash
beanstreamhash.MerchantID = MerchantID
beanstreamhash.AlphanumericValue = result
RetVal.BeanstreamList.Add(beanstreamhash)
End If
Catch ex As Exception
End Try
Return RetVal
End Function
Please help.