How to Catch the 2 or 3 first char in the begining of the string
-
hello I want to catch any value in the datareader begin with a special string Sysdiagrams, if i the value begin with cath it'll be rejected any idea will greatly appreciated Thanks in advance
Assaf
-
hello I want to catch any value in the datareader begin with a special string Sysdiagrams, if i the value begin with cath it'll be rejected any idea will greatly appreciated Thanks in advance
Assaf
The obvious choise would be to filter out the records in the SQL query, so that the don't end up in the result in the first place. If you absolutely don't want to do that, you can use the StartsWith method of the string class.
Experience is the sum of all the mistakes you have done.
-
The obvious choise would be to filter out the records in the SQL query, so that the don't end up in the result in the first place. If you absolutely don't want to do that, you can use the StartsWith method of the string class.
Experience is the sum of all the mistakes you have done.