Syntax Question: Reading from MySQL database
Posted on 2004-11-01
I working with a MYSQL database, using C++ .NET. The program compiles, and outputs data to the console, using a line such as this:
However, I want to do more than just display the "age" to the console, I want to do calculations on the data. So, how do I convert the infomation to an Integer? I've tried variations of "Int32::Parse", ".ToString", "Int32::ToInt32" etc., but can't get the right syntax.
Please help. Thank You.