hi,
I was working with grid view concepts
My requirement is to clear specific row by clicking on clear button on column index 6.
But for row index 0 when I click on clear button on column index 6.entire 0th row cells record
should be cleared.It is not deleting 0th row only removing the records in 0th row.
So for ,I have manged to clear all the rows in grid view by clicking on column index 6
if (VendorGridView.CurrentCell.ColumnIndex == 6)
{
VendorGridView.Rows.RemoveAt(e.RowIndex);
}
But for 0th row in grid i have to clear the record or set cell to empty for entire row by clicking on column index 6.

Midhun TpPosted Sep 27, 2016, 7:54 AM
GowthamPosted Sep 29, 2016, 7:58 AM
GowthamPosted Sep 27, 2016, 9:41 AM
Midhun TpPosted Sep 27, 2016, 9:25 AM
You can pass 0 instead of e.RowIndex in the code to clear 0th row.
GowthamPosted Sep 27, 2016, 8:42 AM
GowthamPosted Sep 27, 2016, 8:05 AM