Solution HERE

Solution HERE IT SOLUTION (PHP, .NET)

24/06/2014

Simple Asp.net AJAX Example of update Textbox:-
Design page:- .aspx











 

 



 

 

 





UpdatePanel1







 

 



 

 

 



Outside UpdatePanel




 

 



 

 

 





UpdatePanel2






 

 







coding page:- .aspx.cs
protected void Button1_Click(object sender, EventArgs e)
{
TextBox1.Text = DateTime.Now.ToString();
TextBox2.Text = DateTime.Now.ToString();
TextBox3.Text = DateTime.Now.ToString();
}

protected void Button2_Click(object sender, EventArgs e)
{
TextBox1.Text = DateTime.Now.ToString();
TextBox2.Text = DateTime.Now.ToString();
TextBox3.Text = DateTime.Now.ToString();
}

protected void Button3_Click(object sender, EventArgs e)
{
TextBox1.Text = DateTime.Now.ToString();
TextBox2.Text = DateTime.Now.ToString();
TextBox3.Text = DateTime.Now.ToString();
UpdatePanel1.Update();
}

27/02/2014

What will be output if you will compile and execute the

following c code?



int main(){

int a=10;

printf("%d %d %d",a,a++,++a);

return 0;

}

30/01/2014

Many Php developer use a common login statement :-

$query = "SELECT * FROM users WHERE user = '{$_POST['username']}' AND password= '{$_POST['password']}'";
mysql_query($query);

But Don't use it ... There is a security threat ..
If any one use ' OR ''=' as password ,then he can login without knowing original username or Password ...

Because The query sent to MySQL:

SELECT * FROM users WHERE user='aidan' AND password='' OR ''=''

This would allow anyone to log in without a valid password.

Address

Kolkata

Website

Alerts

Be the first to know and let us send you an email when Solution HERE posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share