字符的解析

string t = this.txtNum.Text;

int s;

if ((int.TryParse(t, out s)) == true)

//解a析?t的Ì?值¦Ì是º?否¤?为Int类¤¨¤型¨ª,ê?如¨?果?true,ê?刚?将?t的Ì?值¦Ì给?s

posted @ 2012-07-02 14:10  zhcnblog  阅读(89)  评论(0编辑  收藏  举报