Try the following code.
int x = Int32.Parse(sAge);
--
Tim Wilson
..Net Compact Framework MVP
"ad" <ad@wfes.tcc.edu.tw> wrote in message
news:u9**************@tk2msftngp13.phx.gbl...
I have a string like
string sAge="13";
How Can I cast sAge to a integer?