//public DataSet GetAllProduct()
        //{
        //    Product dataLayerProduct;

        //    dataLayerProduct = new Product();
        //    return dataLayerProduct.GetProductDetails();
        //}
        public DataSet GetAllPOrders()
        {
            POrders dataLayerOrder;

            dataLayerOrder = new POrders();
            return(dataLayerOrder.GetPOrdersDetail());
        }
Exemple #2
0
 protected void bind()
 {
     poGrid.DataSource = purcOrder.GetPOrdersDetail();
     poGrid.DataBind();
 }