I got a error.
Error 2 Cannot implicitly convert type 'int' to 'HackerSIMReinvent.DataSet1.UserDataDataTable
|
I checked all my code,The two Arguments for this are,
txtboxLocalLogs.Text, lblLOGIP.Text
|
They are BOTH STRINGS,nowhere in my code are they converted or ever exist as Ints.
These are a part of a Update command to my SQL database.
UserDataDataTable = UserDataTableAdapter.UpdateComputerLogs(txtboxLocalLogs.Text, lblLOGIP.Text);
|
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!
Hirendra SisodiyaPosted Mar 25, 2010, 2:37 AM
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 MorganPosted Mar 25, 2010, 7:20 PM
Thanks for the help! I'll keep it in mind in the future to keep that off my Update Query.