if (ds.Tables["tbl_login"].Rows.Count == 1 && ds.Tables["tbl_login"].Rows[0][0].ToString() == "1") { Label17.Text = "Username is not Available."; Label17.BackColor = System.Drawing.Color.Red; TextBox9.Focus(); } else { Label17.Text = "Username is Available."; Label17.BackColor = System.Drawing.Color.Green; TextBox10.Focus(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)