how to convert the 'object' datatype into an integer and display it on the text box.

dim o as object
o = SqlHelper.ExecuteScalar(connection, "CountProductsByCategory", 1)

The variable 'o' has the correct output (single value) but how should I use CTYPE to convert it into the integer/string to display on the text box?

thanks
nath