Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 자바스크립트날짜get
- 장고웹
- cmd명령어
- javaScriptError
- 장고웹프로젝트
- 오류종류
- 청소년복지론
- 장고프로젝트
- 사례관리
- 개발
- 자바스크립트수학
- 자바스크립트날짜형식
- speechtoText
- R데이터분석
- sqlite
- Android
- 안드로이드
- 파이썬
- 자바스크립트forinforof차이
- 큐개념
- 장고
- webkitrecognition
- 자바스크립트for문
- 자바스크립트날짜
- forof문
- 스택개념
- 스택과큐의차이점
- PostgreSQL
- Python
- speechAPI
Archives
- Today
- Total
지금도 개발중
C# : DataGridView Header Sort 막기 본문
private void gridView_ColumnHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
{
//Disable Sorting for DataGridView
foreach (DataGridViewColumn item in gridView.Columns)
{
item.SortMode = DataGridViewColumnSortMode.NotSortable;
}
}
DataGridView Header Sort를 막고 싶을 때 위의 소스를 사용하면 됩니다.
'언어 > C#' 카테고리의 다른 글
C# : OpenFileDialog 파일 불러오기 엑셀 열기 및 DataTable 데이터 받기 How to export Excel file to DataTable (0) | 2020.12.30 |
---|---|
C# : SEED 비밀번호 암호화 처리 (1) | 2020.05.08 |
C# : Windows Forms ComboBox 수정 못하게 막는 방법 (0) | 2020.04.08 |
C# : SQLite 사용 ExecuteNonQuery(), ExecuteReader() (0) | 2020.04.06 |
C# : SQLite Create Database 데이터베이스 파일 생성하는 방법 (0) | 2020.04.03 |
Comments