Esempio n. 1
0
        protected void grdFeedback_RowUpdating(object sender, GridViewUpdateEventArgs e)
        {
            GridViewRow row = grdFeedback.Rows[e.RowIndex];

            string id = Convert.ToString(row.Cells[0].Text);
            string un = Convert.ToString(row.Cells[1].Text);
            string fd = ((TextBox)(row.Cells[2].Controls[0])).Text;

            objDataHandling.UpdateFeedback(id, un, fd);
            grdFeedback.EditIndex = -1;
            objDataHandling.showFeedbackGrid(grdFeedback);
        }