コード例 #1
0
 protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
 {
     FADAPTER.Delete(Convert.ToInt32(GridView1.DataKeys[e.RowIndex].Value));
     FDT = FADAPTER.SelectFeedback();
     GridView1.DataSource = FDT;
     GridView1.DataBind();
 }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Page.IsPostBack == false)
     {
         FDT = FADAPTER.SelectFeedback();
         GridView1.DataSource = FDT;
         GridView1.DataBind();
     }
 }