Visible="false"> CustomerID: Company Name:
aspx.cs:
protected void Page_Load(object sender, EventArgs e)
{
btn_find_customer.Click += new EventHandler(btn_find_customer_Click);
}
void btn_find_customer_Click(object sender, EventArgs e)
{
lbl_customerID.Text = "ALFKI";
lbl_companyName.Text = "Alfreds Futterkiste";
pnl_customerInfo.Visible = true;
}
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/