/// <summary> /// When the text is changed in the dataGrid, the row is marked as changed<br /> /// this boolean is used in Page_PreRender to save changed rows<br /> /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void TextBox_TextChanged(object sender, EventArgs e) { TextBox thisTextBox = (TextBox)sender; GridViewRow thisGridViewRow = (GridViewRow)thisTextBox.Parent.Parent; int row = thisGridViewRow.RowIndex; utility.GetRowChanged()[row] = true; }