2007年8月31日 星期五

asp.net 2.0 在程式中按下按鈕

asp.net 2.0 在程式中按下按鈕

if (!(IsPostBack))
{
if (TextBox1.Text == "按查詢鈕")
{
Button1_Click(Button1, e); //按下查詢鈕
}
else
{
//do nothing
}
}

沒有留言: