摘要:
方法一 aspx页面:前台代码:后台代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;public partial class _Default : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { //用户输入 txtName.Attributes.Add("Val 阅读全文