Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
6
Reply
Grid view clearing the 0 the row instead of deleting
Gowtham
Sep 27 2016 7:18 AM
263
Reply
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.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
6
)
Next Recommended Forum
How to resolve auto adding rows in grid view
Delete DataBase