I am developing a web application and in the code-behind, I need to get the ID column from specific table in the database and convert it to int. The query is:
string quizID = SELECT MIN(column_name) FROM table_name
and I want to put the value of it in
int quizid
which means I need to conversion, so how to do that?
You’re going to want to do something like this: