这是代码
protected void BTN_GO_Click(object sender, EventArgs e)
{
if (CheckCustomerExists())
{
Response.Write("<script> alert(' Customer Exists Please fill below! ');</script>");
TXT_VAHICAL_ID.Text = TXT_NIC.Text;
TXT_VAHICAL_ID.ReadOnly = true;
TXT_PAY_ID.Text = TXT_NIC.Text;
TXT_PAY_ID.ReadOnly =true;
}
else
{
Response.Write("<script> alert(' Customer Does Not Exist! ');</script>");
Response.Redirect("customer.aspx");
}
}
所以我的期望更好。 现在我希望我的问题解决方案就在这里