コード例 #1
0
        private void FillDropdown()
        {
            Fk_CustomerID.DataSource = MaheshAF18.Utility.M_DropDownList.Fill_Drop_Down_List("v_M_AT_Mst_Customer", "M_Cust_ID", "MCust_Name", "", "", "Customer", 0, "N", "");
            Fk_CustomerID.DataBind();

            CP_Payment_Mode.DataSource = MABL.APPDT.MADD.DT_PaymentMode("", "", "Payment Mode");
            CP_Payment_Mode.DataBind();
        }
コード例 #2
0
        private void FillDropdown()
        {
            Fk_CustomerID.DataSource = MaheshAF18.Utility.M_DropDownList.Fill_Drop_Down_List("v_M_AT_Mst_Customer", "M_Cust_ID", "MCust_Name", "", "", "Customer", 0, "N", "");
            Fk_CustomerID.DataBind();

            Fk_MItem_ID.DataSource = MaheshAF18.Utility.M_DropDownList.Fill_Drop_Down_List("M_AT_Mst_ItemMaster", "MItem_ID", "Item_Name", "", "", "Item", 0, "N", "");
            Fk_MItem_ID.DataBind();

            DataTable dt = new DataTable();

            dt = MaheshAF18.Utility.M_DropDownList.Fill_Drop_Down_List("v_AAA_M_RT_GEO_State", "GStateID", "vStateDisplayName", "  ", "", "State", 0, "N", "");
            SPI_ShippedFrom_State_ID.DataSource = dt;
            SPI_ShippedFrom_State_ID.DataBind();

            SPI_ShippTo_State_ID.DataSource = dt;
            SPI_ShippTo_State_ID.DataBind();
        }