protected void Timer1_Tick(object sender, EventArgs e)
        {
            List <Order> NewOrders = OrderBAL.GetNewOrders();

            grd_view5.Visible = true;
            DataTable dt = new DataTable();

            grd_view5.DataSource = NewOrders;
            grd_view5.DataBind();
            TimeOfChange.Text = DateTime.Now.ToLongTimeString();
            List <Broker> NewBroker = BrokerBAL.GetBrokers();

            grd_view6.Visible = true;
            DataTable dt2 = new DataTable();

            grd_view6.DataSource = NewBroker;
            grd_view6.DataBind();
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         Label3.Text = Session[0].ToString();
         List <Broker> brokers = BrokerBAL.GetBrokers();
         List <Person> persons = PersonBAL.GetPersons();
         List <Stock>  stockes = StockBAL.GetTwoStock();
         List <Order>  orders  = OrderBAL.GetAllOrders();
         grd_view.Visible = true;
         DataTable dt = new DataTable();
         //dt.Columns.Add("Quantity", typeof(int));
         grd_view.DataSource = orders;
         grd_view.DataBind();
         grd_view2.DataSource = stockes;
         grd_view2.DataBind();
         grd_view3.DataSource = persons;
         grd_view3.DataBind();
         grd_view4.DataSource = brokers;
         grd_view4.DataBind();
     }
 }