Quote:
Originally Posted by latepaul
A little googling on the error message suggests that startIndex is not a variable in your code but the name of a parameter to a method, probably SubString.
|
Quote:
Originally Posted by Toxaris
I hardly use substring in my programming due to various reasons, but it could be that it has been used. I will check for that.
|
Something like "startIndex" could be used in a lot of places. I'm fairly sure I've written code that used it as a variable name for searching a list or something. From the message, it could be a string search, compare or something like that. An operation on a zero length string might get this. Some of the columns in the database can contain an empty string rather than null.