コード例 #1
0
        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();
 }