Could it be a problem with my Dataset1.xsd? They are also Strings/varchar in my SQL database,The connection is fine,I can login with the application I made. Anyone have any idea whats going on? I know its obvious it wants strings and somehow its getting Ints.
Thanks In advance!
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Hello Asron
i think error exist in this statement.
UserDataDataTable = UserDataTableAdapter.UpdateComputerLogs(txtboxLocalLogs.Text, lblLOGIP.Text); i think UserDataTableAdapter.UpdateComputerLogs function return integer value, user datadatatable is not integer, so it give error, check this........
Aaron Morgan5 reputationPosted Mar 25, 2010, 3:20 PM EDT
0
You are indeed correct,I took off "UserDataDataTable =" and it no longer is broken! Thanks for the help! I'll keep it in mind in the future to keep that off my Update Query.
Hirendra SisodiyaRank #258 · 9.8K reputationPosted Mar 24, 2010, 10:37 PM EDT
i think error exist in this statement.
UserDataDataTable = UserDataTableAdapter.UpdateComputerLogs(txtboxLocalLogs.Text, lblLOGIP.Text);
i think UserDataTableAdapter.UpdateComputerLogs function return integer value, user datadatatable is not integer, so it give error, check this........
thanks
Please mark as answere if it helps
Aaron Morgan5 reputationPosted Mar 25, 2010, 3:20 PM EDT
Thanks for the help! I'll keep it in mind in the future to keep that off my Update Query.