Hi,
I am experiencing a scenario where the Javascript enabled Message box is not displayed if I use that before a Response.Redirect method.
// PWDencryption(); //ENCRYPTS PASSWORD
conn = new OleDbConnection();
conn.ConnectionString = DBConnection.GetConnectionString();
cmd = new OleDbCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = updtepw;
updtepw = "Update Tbl_user set [Password] = '" + this.txt_newpassword.Text + "' where Emp_No = '" + EMPNO.Value.ToString() + "'";
//updtepw = "Update Tbl_user set [Password] = '" + this.sencryptpwd.ToString() + "' where Emp_No = '" + EMPNO.Value.ToString() + "'"; // updates encrypted password
cmd = new OleDbCommand(updtepw, conn);
cmd.Connec ...
Go to the complete details ...