G
gsudeesh
Hi All,
I have a undound DataGridView. That is, I am populating the
DataGridView using the DataGridView.Rows.Add() call and by setting the
values to individual cells in the row. When I am adding data to the
DataGridView using such a method, I am getting an unwanted row at the
bottom of the DataGridView. I want to avoid this row. Any help with
respect to this is highly appreciated.
I am not planning to use databinding for the DataGridView. Since,
the DataGridView has 7 columns. I should be able to sort the
DataGridView using any of these seven columns. If I use the
databinding, it will be difficult to sort the view. Hence, using the
Default sort of the DataGridView helps me in this case. But the
presence of last row in the DataGridView should not be supported.
So, please tell me a good method, using which I can remove the
unwanted last row in the DataGridView.
Thanx In Advance,
Sudeesh G
I have a undound DataGridView. That is, I am populating the
DataGridView using the DataGridView.Rows.Add() call and by setting the
values to individual cells in the row. When I am adding data to the
DataGridView using such a method, I am getting an unwanted row at the
bottom of the DataGridView. I want to avoid this row. Any help with
respect to this is highly appreciated.
I am not planning to use databinding for the DataGridView. Since,
the DataGridView has 7 columns. I should be able to sort the
DataGridView using any of these seven columns. If I use the
databinding, it will be difficult to sort the view. Hence, using the
Default sort of the DataGridView helps me in this case. But the
presence of last row in the DataGridView should not be supported.
So, please tell me a good method, using which I can remove the
unwanted last row in the DataGridView.
Thanx In Advance,
Sudeesh G