R
Ratman
With Option Strict On, I am getting errors on the areas highlighted
below. Does anyone have a solution to this? The mouse over states
the following..." 'Is' requires operands that have reference types,
but this operand has the value type 'System.Data.SqlTypes.SqlString'."
Private sUsername As SqlString
Public Property Username() As SqlString
Get
Return sUsername
End Get
Set(ByVal --->Value<--- As SqlString)
If (Value Is System.DBNull.Value) Then
sUsername = New System.Data.SqlTypes.SqlString("")
Else
sUsername = New
System.Data.SqlTypes.SqlString(--->Value<---)
End If
End Set
End Property
Thanks in advance,
Jake
below. Does anyone have a solution to this? The mouse over states
the following..." 'Is' requires operands that have reference types,
but this operand has the value type 'System.Data.SqlTypes.SqlString'."
Private sUsername As SqlString
Public Property Username() As SqlString
Get
Return sUsername
End Get
Set(ByVal --->Value<--- As SqlString)
If (Value Is System.DBNull.Value) Then
sUsername = New System.Data.SqlTypes.SqlString("")
Else
sUsername = New
System.Data.SqlTypes.SqlString(--->Value<---)
End If
End Set
End Property
Thanks in advance,
Jake