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?
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?