コード例 #1
0
        protected void btnHistory_Click(object sender, EventArgs e)
        {
            PlaceHolder1.Visible = false;
            PlaceHolder2.Visible = false;
            PlaceHolder3.Visible = false;
            MemberLogic ml = new MemberLogic();
            DataTable   tblLoanHistory;

            tblLoanHistory = ml.GetLoanHistoryTable((int)Session["User_Id"]);

            GridView1.DataSource = tblLoanHistory;
            GridView1.DataBind();
        }