I am getting below error in my code:
Missing operand after 'L' operator.
I debugged the code and found that it is occurring in below line:
DataRow[] documents = this.DataSet.Results_Documents.Select(String.Format("DocumentControlNumber = '{0}'", dcn), null, DataViewRowState.CurrentRows);
Here it is occurring when dcn contains ' in its full string.
What is the exact reason for this?
For example: dcn :- Nat'l Bk of Sheldon
dcn?? - Sujeet Sinha