Link to home
Start Free TrialLog in
Avatar of Tom Knowlton
Tom KnowltonFlag for United States of America

asked on

System.ArgumentOutOfRangeException = Index and length must refer to a location within the string

[System.ArgumentOutOfRangeException]      {"Index and length must refer to a location within the string.\r\nParameter name: length"}      System.ArgumentOutOfRangeException

Here is the sql statement:

"insert into ImportedData (BatchID, Date, Clientip, Firstname, Zip, Email) values ('20100104145312', 'April 20, 2009, 8:17 pm', '72.135.252.110', 'Rene\\''', 'Webster', 'twebster3@wi.rr.com')"


Strange, cuz when I try to run this in My-SQLFront --- it runs with no problems.

I think maybe it has something to do with what is trying to go into Firstname column --  Rene\\

but not sure how to fix.




Thank you,


Tom
ASKER CERTIFIED SOLUTION
Avatar of Jarrod
Jarrod
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tom Knowlton

ASKER

thx!