private void Bind() { d = new DemoEntities(); var V = from T in d.Total1 select T; GridView.DataSource = V.ToList(); GridView.DataBind(); DetView.DataSource = V.ToList(); DetView.DataBind(); FView.DataSource = V.ToList(); FView.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { d = new DemoEntities(); //Response.Write(Session["User"].ToString()); }
protected void Page_Load(object sender, EventArgs e) { d = new DemoEntities(); }