protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { DataRow vsDr = (DataRow)((DataRowView)e.Item.DataItem).Row; TextBox ltName = (TextBox)e.Item.FindControl("ltName"); DropDownList DropDownList2 = (DropDownList)e.Item.FindControl("DropDownList2"); TextBox ltForecastPrice = (TextBox)e.Item.FindControl("ltForecastPrice"); TextBox ltForecastBiddingDate = (TextBox)e.Item.FindControl("ltForecastBiddingDate"); TextBox ltNotes = (TextBox)e.Item.FindControl("ltNotes"); foreach (string DataName in Unitlist.GetBid().Split(',')) { DropDownList2.Items.Add(new ListItem(DataName)); DropDownList2.SelectedItem.Text = vsDr["Status"].ToString(); } ltName.Text = vsDr["BidName"].ToString(); Session["bid"] = vsDr["BID"].ToString(); ltForecastPrice.Text = vsDr["ForecastPrice"].ToString(); ltForecastBiddingDate.Text = vsDr["ForecastBiddingDate"].ToString(); ltNotes.Text = vsDr["Notes"].ToString(); } }
protected void CreateDropDownList() { SetDropDownList("DDLEngCountry", Unitlist.Country(), ""); //工程所在國家 SetDropDownList("DDLEngLocation", Unitlist.City(), ""); //工程所在縣市 SetDropDownList("DDLEngClass", Unitlist.ClassList(), ""); //工程所在縣市 SetDropDownList("DDLDurationType", Unitlist.DurationType(), ""); //工期計算方式 }
protected void Page_Load(object sender, EventArgs e) { foreach (string DataName in Unitlist.GetBid().Split(',')) { DropDownList2.Items.Add(new ListItem(DataName)); } LoadContent(); }
protected void Page_Load(object sender, EventArgs e) { foreach (string DataName in Unitlist.GetBid().Split(',')) { DropDownList2.Items.Add(new ListItem(DataName)); } //DropDownList DDL = (DropDownList)Master.FindControl("Ddl_Project"); //DDL.Visible = false; }
//建立多選選項 protected void CreateDropDownList() { SetDropDownList("DropDownList2", Unitlist.Country(), ""); //工程所在國家 SetDropDownList("DropDownList4", Unitlist.City(), ""); //工程所在縣市 SetDropDownList("DropDownList5", Unitlist.YesNo(), ""); //電子領標選項 SetDropDownList("DropDownList6", Unitlist.YesNo(), ""); //電子投標選項 SetDropDownList("AwardingType", Unitlist.Awarding(), ""); //電子領標選項 SetDropDownList("JointBidNY", Unitlist.YesNo(), ""); //電子領標選項 SetDropDownList("GetBidNY", Unitlist.YesNo(), ""); //電子領標選項 }
//建立多選選項 protected void CreateDropDownList() { SetDropDownList("DropDownList2", Unitlist.Country(), ""); //工程所在國家 SetDropDownList("DropDownList4", Unitlist.City(), ""); //工程所在縣市 SetDropDownList("DDL_EGetBidNY", Unitlist.YesNo(), ""); //電子領標選項 SetDropDownList("DDL_EBiddingNY", Unitlist.YesNo(), ""); //電子投標選項 SetDropDownList("AwardingType", Unitlist.Awarding(), ""); //決標方式 SetRadioButtonList("ContractWay", Unitlist.ContractWay(), ""); //承攬方式 SetDropDownList("DurationType", Unitlist.DurationType(), ""); //工期計算方式 SetDropDownList("ddl_GetBidNY", Unitlist.YesNo(), ""); //電子領標選項 SetDropDownList("ddl_JointBidNY", Unitlist.YesNo(), ""); //電子領標選項 SetDropDownList("DLEngClass", Unitlist.ClassList(), ""); //工程所在國家 }
protected void CreatRadioButtonList() { SetRadioButtonList("DurationType", Unitlist.DurationType_Punish(), ""); //承攬方式 SetRadioButtonList("PunishType", Unitlist.Punish(), ""); //承攬方式 }
protected void CreatRadioButtonList() { SetRadioButtonList("RBContractWay", Unitlist.ContractWay(), ""); //承攬方式 }
protected void CreateDropDownList() { SetDropDownList("DDLDurationType", Unitlist.DurationType(), ""); //工期計算方式 }
//建立多選選項 protected void CreateDropDownList() { SetDropDownList("DDL_Select1", Unitlist.GetBid1(), ""); //標案狀態 SetDropDownList("DDL_Select2", Unitlist.Country(), ""); //工程所在國家 SetDropDownList("DDL_Select3", Unitlist.City(), ""); //工程所在縣市 }
protected void CreatRadioButtonList() { SetRadioButtonList("RBPerformanceBondType", Unitlist.Percent(), ""); //承攬方式 SetRadioButtonList("RBEngType", Unitlist.Engineer(), ""); }
//建立多選選項 protected void CreateDropDownList() { SetDropDownList("DLEngClass", Unitlist.ClassList(), ""); //工程所在國家 }
protected void CreatRadioButtonList() { SetRadioButtonList("StartDeadlinetype", Unitlist.StartDeadlinetype(), ""); //承攬方式 }