Frederick Ga

Frederick Ga

  • NA
  • 2
  • 2.5k

How to update a gridview column?

May 23 2012 11:02 PM
how to update a gridview column with session value and Datetime? i have built an update statement

mySql =
"UPDATE BOCStop SET [lftdte] = GETDATE(), [lftusr] = '" +Session["Username"]+ "' WHERE ([cntnum] = '" + @cntnum + "') AND ([blkdte] = '" + @blkdte + "')";
but still GETDATE() has no value.

Answers (1)