DataTable Column Sum Total DataTable sumDataTable = new DataTable(); sumDataTable.Columns.Add("total", typeof(string)); sumDataTable.Columns.Add("workedhours", typeof(int)); sumDataTable.Columns.Add("tfshours", typeof(int)); DataRow row = sumDataTable.NewRow(); row["total"] = "Total"; row["workedhours"] = oldDataTable.Compute("Sum(workedhours)", "workedhours > 0"); row["tfshours"] = oldDataTable..
private void Text_body_KeyDown(object sender, KeyEventArgs e) { var myTextBox = (TextBox)sender; int caret = myTextBox.CaretIndex; int iLine = myTextBox.GetLineIndexFromCharacterIndex(caret); if (iLine < 11) { e.Handled = true; return; } }
https://stackoverflow.com/questions/27157390/wpf-custom-window-windows-edge-resize-feature Wpf custom window, Windows edge resize feature Got a custom wpf window (WindowStyle=None, AllowTransparancy=true) and wondering how to get Windows edge resize features to work.. you know when draging window and mouse touches left, right or top ... stackoverflow.com
Microsoft.Office.Interop을 사용하여 셀별로 복사하면 너무오래걸려 Row 일괄 복사하도록하여 성능향상 DataGrid -> DataView -> DataTable 로 변환하고 foreach 에서 DataRow 별로 일괄 붙이기. DataView Dview = (DataView)result_grid2.ItemsSource as DataView; DataTable Ex_table = Dview.Table; string excelRange1 = "A" + cellRowIndex;// 복사 시작범위 string excelRange2 = "BL" + cellRowIndex;// 복사 종료범위 worksheet.Range[excelRange1, excelRange2].Value2 = dr.Item..
- Total
- Today
- Yesterday
- 암호 마스터키
- WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
- 서버 수준의 URN 필터
- Xamarin.Ios Firebase Phone SMS OTP Send
- Microcharts
- ClickOnce 인증서 인증기간 변경
- Label Text LineBreak in Xaml
- Embeded 한글Font적용
- C# LINQ Left join
- WPF Textbox
- Windows IIS FTP 디렉토리 목록 오류
- Xamarin.Forms
- ssl_client_socket_impl.cc
- Xamarin reCAPTCHA
- WPF Datagrid Cell Value Change
- 연산자 뒤에 피연산자가 없습니다.
- Xamarin Firebase Phone Auth
- WPF Scrollviewer in ScrollViwer
- Entry '' has empty native path
- c# Encrypt / Decrypt
- Linux SSH Multi Computer Join
- GetCellContent CheckBox Value
- Xamarin Firebase Phone User Add
- Xamarin.Ios Firebase Phone User Add
- Xamarin SMS OTP Send
- SkiaSharp
- Xamarin.Ios Firebase Phone Auth
- FileStream Add Byte
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 | 30 | 31 |