string用 IsNullOrEmpty 判断为空,int类型用什么? if (string.IsNullOrEmpty(columnName)) throw new Exception("资金项不能为空!"); if 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交