I had written a query like this
string strUpdateQuery = "UPDATE M_QA SET ANSWER = '" + txtEditorAnswer.Text.Trim().Replace("'", "''")
+ "', UPDATED_ON = getDate(), UPDATED_BY = '" + this.Session["UserId"].ToString()
+ "' WHERE PK_ID = " + _currentQuestionId + " AND IS_ACTIVE = 1";
but the value doesn't get updated untill i put a breakpoint at this query.
Can anyone please help me..