Exemple #1
0
        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();
            }
        }
Exemple #2
0
 protected void CreateDropDownList()
 {
     SetDropDownList("DDLEngCountry", Unitlist.Country(), "");        //工程所在國家
     SetDropDownList("DDLEngLocation", Unitlist.City(), "");          //工程所在縣市
     SetDropDownList("DDLEngClass", Unitlist.ClassList(), "");        //工程所在縣市
     SetDropDownList("DDLDurationType", Unitlist.DurationType(), ""); //工期計算方式
 }
Exemple #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     foreach (string DataName in Unitlist.GetBid().Split(','))
     {
         DropDownList2.Items.Add(new ListItem(DataName));
     }
     LoadContent();
 }
Exemple #4
0
 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;
 }
Exemple #5
0
 //建立多選選項
 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(), "");        //電子領標選項
 }
Exemple #6
0
 //建立多選選項
 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(), "");       //工程所在國家
 }
Exemple #7
0
 protected void CreatRadioButtonList()
 {
     SetRadioButtonList("DurationType", Unitlist.DurationType_Punish(), ""); //承攬方式
     SetRadioButtonList("PunishType", Unitlist.Punish(), "");                //承攬方式
 }
Exemple #8
0
 protected void CreatRadioButtonList()
 {
     SetRadioButtonList("RBContractWay", Unitlist.ContractWay(), ""); //承攬方式
 }
Exemple #9
0
 protected void CreateDropDownList()
 {
     SetDropDownList("DDLDurationType", Unitlist.DurationType(), ""); //工期計算方式
 }
Exemple #10
0
 //建立多選選項
 protected void CreateDropDownList()
 {
     SetDropDownList("DDL_Select1", Unitlist.GetBid1(), ""); //標案狀態
     SetDropDownList("DDL_Select2", Unitlist.Country(), ""); //工程所在國家
     SetDropDownList("DDL_Select3", Unitlist.City(), "");    //工程所在縣市
 }
Exemple #11
0
 protected void CreatRadioButtonList()
 {
     SetRadioButtonList("RBPerformanceBondType", Unitlist.Percent(), "");  //承攬方式
     SetRadioButtonList("RBEngType", Unitlist.Engineer(), "");
 }
Exemple #12
0
 //建立多選選項
 protected void CreateDropDownList()
 {
     SetDropDownList("DLEngClass", Unitlist.ClassList(), "");  //工程所在國家
 }
Exemple #13
0
 protected void CreatRadioButtonList()
 {
     SetRadioButtonList("StartDeadlinetype", Unitlist.StartDeadlinetype(), "");  //承攬方式
 }