public string ModuleStatus(object Mid, object status) { if (Mid == null || status == null) { return "<div id='ele9' class='tigger' align='center'>" + getStatusStr(status.ToString()) + "</div>"; } BLL.Tao.Modules mbll = new BLL.Tao.Modules(); int mid = int.Parse(Mid.ToString()); Model.Tao.Modules m = mbll.GetModel(mid); if (!string.IsNullOrEmpty(m.VideoContent)) { return "<div id='ele9' align='center'>" + getStatusStr(status.ToString()) + "</div>"; } else { return "<div id='ele9' class='tigger' align='center'>" + getStatusStr(status.ToString()) + "</div>"; } }