当txtLeaveDate .Text为空 时 ST_mycommand.Parameters["@enddate"].Value =null 出错误。提示没有为enddate 提供参数。对应表user_info 字段enddate 可以为null ,不知道为什么呀??? 当txtLeaveDate .Text为空 时 ST_mycommand.Parameter 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交