I made a simple form in C#, inside it there is textBox I want when I write the value inside this textBox it's must check it with one rows of the table inside dataBase if it's exist it print a message box else exit.....Any one can help ???

Thanks in advance.....

hi

if(txtbox1.text=="u r database value")
{
 ClientScript.RegisterStartupScript(this.GetType(), "msg", "<script> alert(u r msg!'); </script>");
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.