protected void Page_Load(object sender, EventArgs e) { DataTable dt; BLL.Truck _Bll = new BLL.Truck(); dt = _Bll.getTruck_All(); RadGrid1.DataSource = dt; }
protected void Page_Load(object sender, EventArgs e) { if (Session["USER"] == null) { Response.Redirect("Authorize.aspx"); } DataTable dt; BLL.Truck _Bll = new BLL.Truck(); dt = _Bll.getTruck_All(); RadGrid1.DataSource = dt; }