sqlCommand.Parameters .Add ("@in_time",System.Data .SqlDbType .DateTime ,8,in_timeTxt);
sqlCommand.Parameters .Add ("@out_time",System.Data .SqlDbType .DateTime ,8,out_timeTxt);这两句不对,in_timeTxt和out_timeTxt是String类型,要转换为DateTime类型才可以。
sqlCommand.Parameters .Add ("@out_time",System.Data .SqlDbType .DateTime ,8,out_timeTxt);这两句不对,in_timeTxt和out_timeTxt是String类型,要转换为DateTime类型才可以。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货