/// <summary>
 /// 下拉框值綁定
 /// </summary>
 /// <param name="type">綁定的數據類型</param>
 /// <param name="ddcl">菜單名</param>
 private void ddclDataBind(string type, UNLV.IAP.WebControls.DropDownCheckList ddcl)
 {
     this.tempDataTable.Clear();
     this.tempDataTable = workflowset.GetDocNoTypeList(type);
     ddcl.DataSource = tempDataTable;
     ddcl.DataTextField = "DataValue";
     ddcl.DataValueField = "DataCode";
     ddcl.DataBind();
 }
Example #2
0
 private void ddclDataClear(UNLV.IAP.WebControls.DropDownCheckList ddcl)
 {
     ddcl.ClearSelection();
 }
Example #3
0
 private void ddclDataBind_new(UNLV.IAP.WebControls.DropDownCheckList ddcl)
 {
     this.tempDataTable.Clear();
     this.tempDataTable = workflowset.GetDocNoTypeList();
     ddcl.DataSource = tempDataTable;
     ddcl.DataTextField = "LVTYPENAME";
     ddcl.DataValueField = "LVTYPECODE";
     ddcl.DataBind();
     ddcl.Items.Insert(0, new ListItem(Message.choose_defaultvalue, ""));
 }
Example #4
0
 private void ddclDataBind_new(string type, UNLV.IAP.WebControls.DropDownCheckList ddcl)
 {
     string deptid = hf_deptid.Value;
     this.tempDataTable.Clear();
     this.tempDataTable = workflowset.GetKeyValue(deptid,type);
     ddcl.DataSource = tempDataTable;
     ddcl.DataTextField = "DAY_NAME";
     ddcl.DataValueField = "DAY_CODE";
     ddcl.DataBind();
 }
Example #5
0
 private void ddclDataBind_2(string type, UNLV.IAP.WebControls.DropDownCheckList ddcl)
 {
     this.tempDataTable.Clear();
     this.tempDataTable = workflowset.GetDocNoTypeList_new(type);
     ddcl.DataSource = tempDataTable;
     ddcl.DataTextField = "DataValue";
     ddcl.DataValueField = "DataCode";
     ddcl.DataBind();
        // ddcl.Items.Insert(0, new ListItem(Message.choose_defaultvalue, ""));
 }
Example #6
0
 private void ddclDataBind_1(string type, UNLV.IAP.WebControls.DropDownCheckList ddcl)
 {
     this.tempDataTable.Clear();
     this.tempDataTable = workflowset.GetOverTimeType(type);
     ddcl.DataSource = tempDataTable;
     ddcl.DataTextField = "V_NAME";
     ddcl.DataValueField = "V_CODE";
     ddcl.DataBind();
 }