//--------------------------To get the item details---------------------------------------------------------------------// public void details(string itemid) { //--------------------------from InventoryCatalogue table(BIN,Description,UOM)------------------------------------------// detFromInventory = InventoryLogic.GetInventoryDetails(itemid); LblDesD.Text = detFromInventory.Description; LblUomD.Text = detFromInventory.UOM; LblBinD.Text = detFromInventory.BIN; LblIdD.Text = detFromInventory.ItemID; //---------------------------from SupplierCatalogue table(Supplier details)--------------------------------------------// sCatList = InventoryLogic.GetCatalogueDetails(itemid); LblS1D.Text = sCatList[0].SupplierID; LblS2D.Text = sCatList[1].SupplierID; LblS3D.Text = sCatList[2].SupplierID; }