What is SQL Injection

What is SQL Injection SQL Injection is one of the many web attack mechanisms used by hackers to steal data from organizations. It is perhaps one of the most common…

allow only characters in textbox

allow only characters in textbox In Asp.net using C# you can use below code in your textbox text changed event private void textBox1_TextChanged(object sender, EventArgs e) { if (System.Text.RegularExpressions.Regex.IsMatch("^[a-zA-Z]", textBox1.Text))…

Allow only number in TextBox

Allow only number in TextBox in asp.net using java script first Add this java script between head portion in aspx page <script type="text/javascript"> function ValidateNmber(obj, evt) { var charCode =…