返回首页

如何使用asp.net编码ASCII值:

int ascii = Convert.ToInt16(e.KeyChar); 

          if (ascii == 13)

          {

             DropDownList2.SelectedIndex = 0;

             DropDownList2.Focus();

}

如何在asp.net使用C#的ASCII码?

回答

评论会员: 时间:2