在cs后台代码中直接添加:
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Attributes.Add("OnClick", "this.value =/"/"");
}
在cs后台代码中直接添加:
protected void Page_Load(object sender, EventArgs e)
{
TextBox1.Attributes.Add("OnClick", "this.value =/"/"");
}