1.时间类型需要用"#"括起来如 "#2010-8-25#
2.程序后台paramenters添加参数需要与存储过程的参数顺序一致。如
access中 insert into (uid,btime,content) values(@uid,@btime,@content)
则后台代码中cmd.parameters.add的顺序得是uid,btime,content
总之,后台用存储过程,数据库是access的话,两边参数顺序要一模一样
1.时间类型需要用"#"括起来如 "#2010-8-25#
2.程序后台paramenters添加参数需要与存储过程的参数顺序一致。如
access中 insert into (uid,btime,content) values(@uid,@btime,@content)
则后台代码中cmd.parameters.add的顺序得是uid,btime,content
总之,后台用存储过程,数据库是access的话,两边参数顺序要一模一样