Saturday, September 7, 2013

Getting row index from a Gridview template column when a Textbox Text is changed

           
            TextBox thisTextBox = (TextBox)sender;
            GridViewRow currentRow = (GridViewRow)thisTextBox.Parent.Parent;
            int rowindex = 0;
            rowindex = currentRow.RowIndex;



No comments: