if (string.IsNullOrEmpty(Request["DropDownList1"])) return;

来源:学生作业学帮网 编辑:学帮网 时间:2024/06/01 12:36:41

if (string.IsNullOrEmpty(Request["DropDownList1"])) return;

页面DropDownList1不存在或者选中值为空的话,直接返回.