protected void Page_Load(object sender, EventArgs e) { string Id = HttpUtility.ParseQueryString(this.ClientQueryString).Get("id"); Lrbd.Business.Order objorder = new Lrbd.Business.Order(); returnItems = objorder.getOrderbyID(Id); }
protected void Page_Load(object sender, EventArgs e) { if (Session["Customer_id"] == null) { Response.Redirect("Login.aspx"); } else { Lrbd.Business.Order objorder = new Lrbd.Business.Order(); GridView1.DataSource = objorder.getCustonerToOrder(); GridView1.DataBind(); } }