protected void txtorder_TextChanged(object sender, EventArgs e) { bool Auth = Specimen.GetOrderNoAuthentication(txtorder.Text.Trim()); if (Auth) { MessageBox("Order no is already Exist"); txtorder.Text = ""; txtorder.Focus(); } else { txtOrdDate.Focus(); } }