Home/ASP.NET Forums/General ASP.NET/Web Forms Data Controls/Parameter to update Current RecordmyCommand.CommandText = "UPDATE [Ta...

Parameter to update Current RecordmyCommand.CommandText = "UPDATE [TasksProject] SET [AsAtDate] = @DateTime WHERE [UserName] = 'James Asante'"; myCommand.Parameters.AddWithValue("@DateTime", DateTime.Now.ToString()); [Answered]RSS

6 replies

Last post Dec 17, 2016 10:04 AM by Cathy Zou