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(); }
protected void Page_Load(object sender, EventArgs e) { if (Page.IsPostBack == false) { FDT = FADAPTER.SelectFeedback(); GridView1.DataSource = FDT; GridView1.DataBind(); } }