I'm trying to convert some SQL from VB 6.0 to .Net. Can anyone tell me why the following is not correct???
I'm converting FROM:
The error message I get is
Code:
sWhere = str.Substring(sWhere, str.Length(sWhere) - 4)
Code:
sWhere = Left(sWhere, Len(sWhere) - 4)
The error message I get is
Code:
Public ReadOnly Property Length() As Integer' has no parameters and its return type cannot be indexed.