I have a following cod in VB and I am trying to convert it to C#... Thanks!
WhereClause = " where " & Strings.Mid(WhereClause, 6)
WhereClause = " where " + WhereClause.Substring(5, WhereClause.Length);
I am getting the following error for C# part:
ArgumentOutOfRangeException was unhandled by user code
Index and length must refer to a location within the string.
Parameter name: length