Tom Knowlton
asked on
System.ArgumentOutOfRangeException = Index and length must refer to a location within the string
[System.ArgumentOutOfRange Exception] {"Index and length must refer to a location within the string.\r\nParameter name: length"} System.ArgumentOutOfRangeE xception
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER