Exemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Control.DropDownList_Source myDDLSource = new Control.DropDownList_Source();
     if (!IsPostBack)
     {
         ddl_CangKu.DataSource = myDDLSource.DDL_CangKu();
         DDL_DataBind(ddl_CangKu);
         ddl_Goods.DataSource = myDDLSource.DDL_Goods();
         DDL_DataBind(ddl_Goods);
     }
 }
Exemplo n.º 2
0
        protected void SetDropDownList()
        {
            Control.DropDownList_Source myDDLSource = new Control.DropDownList_Source();

            ddl_Cangku.DataSource = myDDLSource.DDL_CangKu();
            DDL_DataBind(ddl_Cangku);
            DDL_GHS.DataSource = myDDLSource.DDL_KeHu();
            DDL_DataBind(DDL_GHS);
            ddl_GSname.DataSource = myDDLSource.DDL_Goods();
            DDL_DataBind(ddl_GSname);
            ddl_RKY.DataSource = myDDLSource.DDL_Manager();
            DDL_DataBind(ddl_RKY);
            ddl_YHY.DataSource = myDDLSource.DDL_Manager();
            DDL_DataBind(ddl_YHY);
        }
Exemplo n.º 3
0
        protected void SetDropDownList()
        {
            Control.DropDownList_Source myDDLSource = new Control.DropDownList_Source();

            ddl_CangKu.DataSource = myDDLSource.DDL_CangKu();
            DDL_DataBind(ddl_CangKu);
            ddl_GSname.DataSource = myDDLSource.DDL_Goods();
            DDL_DataBind(ddl_GSname);
        }