Vb.net 2005 - Input string was not in a correct format. - from Database -


so run query:

select * shipments actionexec <> '' 

said query returns 2 results:

result 1 has actionexec = "u" result 2 has actionexec = "c"

when code runes below works fine first record.

on second record error: input string not in correct format.

the code below:

 orderno = rdrfps("order_no")  order_type = rdrfps("order_type")  shipmentnumber = rdrfps("trafficshipmentnumber")  actionexec = rdrfps("actionexec") 

the error happens on actionexec = rdrfps("actionexec"), can't display output rdrfps in immediate window.

again first record ran no errors, other fields in second record seem fine.

any ideas?


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -