Getting Value from a Database to Variable
Hi
This may seem like a stupid question but i was wondering how i went about getting a value from a record in a database and setting it as a variable integer.
i am able to send a variable to the database using
cmd.parameters.addwithvalue("@wins", (Score)) which updates the selected row but i am unsure how to get a selected value and set it to a variable.
|