Exemplo n.º 1
0
    protected void BindStuZuoyeinfo()
    {
        string    zuoyeid     = Request.QueryString["zuoyeid"];
        string    stuusername = ((FormsIdentity)HttpContext.Current.User.Identity).Ticket.Name;
        DataTable dt          = ZuoyeInfo.GetStuZuoyeInfo(stuusername, int.Parse(zuoyeid));

        FormView1.DataSource = dt;
        FormView1.DataBind();
    }