Beispiel #1
0
        protected void GetCapacityIn()
        {
            ddlcapacityin.Items.Clear();
            iWarehouseClient Warehouseclient = new iWarehouseClient();
            CustomProfile    profile         = CustomProfile.GetProfile();

            ddlcapacityin.DataSource = Warehouseclient.GetCapacityIn(profile.DBConnection._constr);
            ddlcapacityin.DataBind();
            ListItem lst = new ListItem {
                Text = "-Select-", Value = "0"
            };

            ddlcapacityin.Items.Insert(0, lst);
        }