另外还想问问加入存储过程中对应的某个参数为空时在代码里面该怎么来表示?想下面一句行吗?sqlCmd2.Parameters["@Attach"].Value = null;