Esempio n. 1
0
 private void LoadAllSizes()
 {
     dlSizes.Items.Clear();
     dlSizeUpdate.Items.Clear();
     foreach (Size size in SM.Sizes())
     {
         dlSizes.Items.Add(new ListItem(size.SizeDescription, size.SizeCode));
         dlSizeUpdate.Items.Add(new ListItem(size.SizeDescription, size.SizeCode));
     }
 }
Esempio n. 2
0
 private void LoadSizes(string[] search_parameter = null)
 {
     if (search_parameter != null)
     {
         this.gvSizesList.DataSource = SM.SearchSizes(search_parameter);
         this.gvSizesList.DataBind();
     }
     else
     {
         this.gvSizesList.DataSource = SM.Sizes();
         this.gvSizesList.DataBind();
     }
 }
Esempio n. 3
0
 private long GetAllSizes()
 {
     return(SM.Sizes().Count);
 }