DataGridView에서 드래그하여 복사 후 엑셀에 붙여 넣으면 한글의 경우는 깨지는 현상이 발생한다.
private void DataGridView1_KeyUp(object sender, KeyEventArgs e) { string str = Clipboard.GetText(); Clipboard.Clear(); Clipboard.SetText(str, TextDataFormat.Text); }
'Development > C#' 카테고리의 다른 글
CheckedListBox (0) | 2008.11.17 |
---|---|
제네릭이란 무엇인가? (0) | 2008.11.17 |
MySQL 연동 (0) | 2008.10.30 |
아스키코드표 (0) | 2008.10.30 |
Windows 서비스 프로그램 (0) | 2008.08.07 |