Ejemplo n.º 1
0
 protected void ClearItemData(bool NewItem)
 {
     // if NewItem is true, we are clearing after an item is entered
     SSGridView.DataBind();
     DetailUpdatePanel.Update();
     ItemDescLabel.Text  = "";
     Wgt100Label.Text    = "";
     QtyUOMLabel.Text    = "";
     StdCostLabel.Text   = "";
     UPCLabel.Text       = "";
     WebLabel.Text       = "";
     CategoryLabel.Text  = "";
     NetWghtLabel.Text   = "";
     SuperEqLabel.Text   = "";
     ListLabel.Text      = "";
     HarmCodeLabel.Text  = "";
     PackGroupLabel.Text = "";
     PlatingLabel.Text   = "";
     GrossWghtLabel.Text = "";
     PriceUMLabel.Text   = "";
     CFVLabel.Text       = "";
     PPILabel.Text       = "";
     ParentLabel.Text    = "";
     StockLabel.Text     = "";
     CostUMLabel.Text    = "";
     CatVelLabel.Text    = "";
     PkgVelLabel.Text    = "";
     CreatedLabel.Text   = "";
     HeaderUpdatePanel.Update();
     CategorySpecLabel.Text = "";
     MessageUpdatePanel.Update();
     HeadImageUpdatePanel.Visible = false;
     BodyImageUpdatePanel.Visible = false;
 }
Ejemplo n.º 2
0
 private void BindSSGrid(DataTable StockData)
 {
     SSGridView.DataSource = StockData;
     SSGridView.DataBind();
     // set the totals
     UsageTotLabel.Text    = FormatScreenData(Num1Format, StockData.Compute("Sum(Use30D)", "1 = 1"));
     ROPTotLabel.Text      = FormatScreenData(Num1Format, StockData.Compute("Sum(ROP)", "1 = 1"));
     AvailTotLabel.Text    = FormatScreenData(Num0Format, StockData.Compute("Sum(Avail)", "1 = 1"));
     SalesTotLabel.Text    = FormatScreenData(Num0Format, StockData.Compute("Sum(Sales)", "1 = 1"));
     TransOutTotLabel.Text = FormatScreenData(Num0Format, StockData.Compute("Sum(TransOut)", "1 = 1"));
     BackTotLabel.Text     = FormatScreenData(Num0Format, StockData.Compute("Sum(Back)", "1 = 1"));
     QOHTotLabel.Text      = FormatScreenData(Num0Format, StockData.Compute("Sum(QOH)", "1 = 1"));
     PurchTotLabel.Text    = FormatScreenData(Num0Format, StockData.Compute("Sum(PO)", "1 = 1"));
     OTWTotLabel.Text      = FormatScreenData(Num0Format, StockData.Compute("Sum(OTW)", "1 = 1"));
     ProdTotLabel.Text     = FormatScreenData(Num0Format, StockData.Compute("Sum(WO)", "1 = 1"));
     ReturnTotLabel.Text   = FormatScreenData(Num0Format, StockData.Compute("Sum(RO)", "1 = 1"));
     TransInTotLabel.Text  = FormatScreenData(Num0Format, StockData.Compute("Sum(TransIn)", "1 = 1"));
 }
Ejemplo n.º 3
0
 private void BindSSGrid(DataTable StockData)
 {
     SSGridView.DataSource = StockData;
     SSGridView.DataBind();
     Session["StockData"] = StockData;
 }