コード例 #1
0
        protected void FillLocationType()
        {
            ddllocationtype.Items.Clear();
            iWarehouseClient Warehouseclient = new iWarehouseClient();
            CustomProfile    profile         = CustomProfile.GetProfile();

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

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