Code:
protected void TextBox1_TextChanged(object sender, EventArgs e)
{
where(Uname="+TextBox1.Text+")");
int i;
cn1 = new SqlConnection(ConfigurationManager.ConnectionStrings["BruserConnectionString2"].ConnectionString);
cmd = new SqlCommand("select EnquiryNo from Pre_Enquiry where(Uname=@uname);", cn1);
Leave a comment: