상세 컨텐츠

본문 제목

데이터그리드뷰 첫번째 행 자동 선택 해제

C#

by xarfox 2010. 9. 17. 10:47

본문

DataGridView.ClearSelection Method

.NET Framework 2.0

Cancels the selection of currently selected cells.

Overload List

Name Description
DataGridView.ClearSelection () Clears the current selection by unselecting all selected cells.
DataGridView.ClearSelection (Int32, Int32, Boolean) Cancels the selection of all currently selected cells except the one indicated, optionally ensuring that the indicated cell is selected.

 

http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.clearselection(VS.80).aspx

관련글 더보기