protected void bindGv() { string selectedValue = this.dropPrjType.SelectedValue; int countAtChgState = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, this.GetState(2), this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); this.AspNetPager1.RecordCount = countAtChgState; DataTable allAtChgState = TenderInfo.GetAllAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, this.GetState(2), this.GetState(1), base.UserCode, string.Empty, true, 3, this.AspNetPager1.CurrentPageIndex, this.AspNetPager1.PageSize, "ChangeFlowSate"); this.gvDataInfo.DataSource = allAtChgState; this.gvDataInfo.DataBind(); string value = string.Empty; if (this.dropPrjState.SelectedValue != string.Empty) { value = this.dropPrjState.SelectedValue; } if (string.IsNullOrEmpty(value)) { System.Collections.Generic.List <int> prjState = new System.Collections.Generic.List <int> { 6 }; int countAtChgState2 = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, prjState, this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); prjState = new System.Collections.Generic.List <int> { 4 }; int countAtChgState3 = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, prjState, this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); prjState = new System.Collections.Generic.List <int> { 1 }; int countAtChgState4 = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, prjState, this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); prjState = new System.Collections.Generic.List <int> { 2 }; int countAtChgState5 = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, prjState, this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); prjState = new System.Collections.Generic.List <int> { 3 }; int countAtChgState6 = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, prjState, this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); prjState = new System.Collections.Generic.List <int> { 14 }; int countAtChgState7 = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, prjState, this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); prjState = new System.Collections.Generic.List <int> { 15 }; int countAtChgState8 = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, prjState, this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); prjState = new System.Collections.Generic.List <int> { 16 }; int countAtChgState9 = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, prjState, this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); prjState = new System.Collections.Generic.List <int> { 19 }; int countAtChgState10 = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, prjState, this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); string text = "<span style='margin-left:3px;margin-right:3px;'>"; string text2 = "</span>"; this.lblTotal.Text = string.Concat(new object[] { "汇总:落标", text, countAtChgState2, text2, "项,投标", text, countAtChgState3, text2, "项, 信息预立项", text, countAtChgState4, text, "项,信息立项", text, countAtChgState5, text2, "项,报名通过", text, countAtChgState6, text2, "项,报名不通过", text, countAtChgState10, text2, "项, 资格预审", text, countAtChgState7, text2, "项, 预审通过", text, countAtChgState8, text2, "项,预审失败", text, countAtChgState9, text2, "项" }); return; } int num = 0; int num2 = 0; int num3 = 0; int num4 = 0; int num5 = 0; int num6 = 0; int num7 = 0; int num8 = 0; int num9 = 0; int num10 = 0; System.Collections.Generic.List <int> prjState2 = new System.Collections.Generic.List <int> { System.Convert.ToInt32(value) }; int countAtChgState11 = TenderInfo.GetCountAtChgState(this.txtPrjName.Text, this.txtPrjCode.Text, this.txtBuildUnit.Text, selectedValue, this.txtStartTime.Text, this.txtEndTime.Text, prjState2, this.GetState(1), base.UserCode, string.Empty, 3, "ChangeFlowSate"); int num11 = System.Convert.ToInt32(value); switch (num11) { case 1: num4 = countAtChgState11; goto IL_791; case 2: num5 = countAtChgState11; goto IL_791; case 3: num6 = countAtChgState11; goto IL_791; case 4: num3 = countAtChgState11; goto IL_791; case 5: num = countAtChgState11; goto IL_791; case 6: num2 = countAtChgState11; goto IL_791; case 7: case 8: case 9: case 10: case 11: case 12: case 13: break; case 14: num7 = countAtChgState11; goto IL_791; case 15: num8 = countAtChgState11; goto IL_791; default: if (num11 == 19) { num10 = countAtChgState11; goto IL_791; } break; } num9 = countAtChgState11; IL_791: string text3 = "<span style='margin-left:3px;margin-right:3px;'>"; string text4 = "</span>"; this.lblTotal.Text = string.Concat(new object[] { "汇总:中标", text3, num, text4, "项,落标", text3, num2, text4, "项,投标", text3, num3, text4, "项, 信息预立项", text3, num4, text3, "项,信息立项", text3, num5, text4, "项,报名通过", text3, num6, text4, "项,报名不通过", text3, num10, text4, "项, 资格预审", text3, num7, text4, "项, 预审通过", text3, num8, text4, "项,预审失败", text3, num9, text4, "项" }); }