Esempio n. 1
0
        private void BindData()
        {
            OrdersDAL orders = new OrdersDAL();
            DataSet   ds     = orders.GetAllOrders();

            gvOrders.DataSource = ds;
            gvOrders.DataBind();
        }
 public void GetOrders()
 {            
         var order1 = new OrdersDAL();
         Assert.IsTrue(order1.GetAllOrders().Count > 0);           
 }