コード例 #1
0
        protected void tbSIN_TextChanged(object sender, EventArgs e)
        {
            var user = new CUser();
            var app  = user.CheckSIN(Convert.ToInt32(tbSIN.Text));

            if (app != string.Empty && app != "0")
            {
                ShowMessage(tbSIN.Text + " is duplicated.");
                tbSIN.Text = "";
            }
        }