I am working C#.net. I have a datetime variable 'currDate' whose value is set to current date. when i fire an update query as
Code:
Update UserLogin set Date=currDate where UserId='"+txtUserName.text+"';
i get an error 'cannot update column currDate '.how should i go about it.