Apr 4th, 2009 | No Comments

While working on the project we came across a problem that, we were not able to read value of read only text box, i.e. TextBox1.Text returned nothing even when the text box had value.

On googling, I found after doing this you can make your text box read only and also it will return the value of the text box. You need to insert this line on your Page_Load

TextBox1.Attributes.Add(“readonly”, “true”);

Written by Ajay Matharu

April 4th, 2009 at 5:37 pm

Mar 14th, 2009 | No Comments

Here is the SQL statement that helps you to change the SQL account password,



[cc lang="sql"]
ALTER LOGIN Account_Name WITH
PASSWORD = ‘New_Password’
OLD_PASSWORD = ‘Old_Password’;
[/cc]

Written by Ajay Matharu

March 14th, 2009 at 4:04 pm

Posted in SQL

Tagged with , , ,