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

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 02:45:21
if (string.IsNullOrEmpty(Request[

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

if (string.IsNullOrEmpty(Request["DropDownList1"])) return;
页面DropDownList1不存在或者选中值为空的话,直接返回.