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(); } }