我有一个简短的问题。如何插入包含日期时间类型的值?我试过这个:
>update D:\\transmisja\\skawina4\\W\\wkono.dbf set kod_kontr = '21-0003',
Nzwakontr1 = 'Kmiecik Wieslaw', Nzwakontr2 = '' , Adrknth_m ='RADZISZÓW',
Adrknth_u = 'JANA PAWLA II 1', NrDomu='', Nrlok='', Adrknth_k='32-052',
Nr_vat =' -', Telkontr ='- -', Nrkonkontr='200 21 0003', Bank ='',
NrKonta = '', Osw = '', Sz = '', Region = '', Upust = 0.0, TerminP = 0,
Poziomcen =0, PlatnikVAT =.f., Warunki1 ='175/A/00', Warunki2 ='2000.12.30',
Obwod = '21', Grupa = 'P1', Us_p ='--', Zus_p = .t., Us_r ='IO', Zus_r = .t.,
Rdziel = '--', Rulica ='JANA PAWLA II 1', Dus_p = CTOT('1993-03-12 00:00:00'),
Dus_r = CTOT('2009-07-15 00:00:00') where kod_kontr='21-0003'
但是这个将空白值放入表中:
Dus_r = CTOT('2009-07-15 00:00:00')
我的简短问题:我做错了什么?
这是我的连接字符串:
提供者=vfpoledb.1;数据源=D:\transmisja\skawina4\W\wkono.dbf;整理顺序=机器
它是 ado.net 连接,使用 .net 4.0 windows forms c# application