I'm inserting sql with datetime data type as follows var insertCommand = "INSERT INTO diklat (ID_Admin, Jadwal, deskripsi, nama_diklat) Values(@0, '@1/@2/@3 @4:@5:0', @6, @7)"; db.Execute(insertCommand, idAdmin, bulan, tanggal, tahun, jam, menit, deskripsi, namaDiklat); bur it gives me errors anyone knows what the prblem is?
I can't figure out why my WebSecurity.ChangePassword is not working. Here's the piece of code I'm working on.
if (WebSecurity.ChangePassword(USER, oldpass, password)) {
Response.Redirect("~/SuperAdmin");
return;
}else {
...
I can't figure out why my WebSecurity.ChangePassword is not working. Here's the piece of code I'm working on.
if (WebSecurity.ChangePassword(USER, oldpass, password)) {
Response.Redirect("~/SuperAdmin");
return;
}else {
...