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();
        }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     d = new DemoEntities();
     //Response.Write(Session["User"].ToString());
 }
示例#3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     d = new DemoEntities();
 }