PBU's notes
May 20, 2018
DataGridView 하나의 Cell 선택 시 Column 삭제 C#
foreach (DataGridViewCell oneCell in ExceldataGridView.SelectedCells)
{
if (oneCell.Selected)
{
ExceldataGridView.Columns.RemoveAt(oneCell.RowIndex);
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment