SqlDataReader DB연결된 동안 접근 가능(읽기 전용) SqlDataAdapter DataSet에 복사, DB연결 끊어도 사용 가능 1. SqlDataReader 사용SqlDataReader DB_reader_Eclass1 = Eclass_comm.ExecuteReader();DataTable dt_Eclass1 = new DataTable(); dt_Eclass1.Load(DB_reader_Eclass1); Eclass_comm.Parameters.Clear(); if (dt_Eclass1.Rows.Count > 0) { dataGrid1.ItemsSource = dt_Eclass1.AsDataView(); } 2. SqlDataAdapter 사용 DataSet DST = new DataSet..
item_list[0] = sch_ids_sch.Text;// id item_list[1] = sch_name_sch.Text;// name item_list[2] = "aca";// aca_name item_list[3] = DT.Year.ToString(); item_list[4] = DT.Month.ToString(); TextBlock x_day = dataGrid1.Columns[0].GetCellContent(dataGrid1.Items[i-1]) as TextBlock; item_list[5] = x_day.Text; //day TextBlock x_week_num = dataGrid1.Columns[1].GetCellContent(dataGrid1.Items[i - 1]) as TextBl..
delegate 선언 private delegate void UpdateProgressBarDelegate(System.Windows.DependencyProperty dp, Object value); for loop 에서 Application.Current.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.ApplicationIdle, (Action)(() => { pbStatus.Value = values; })); TEON님의 회원 가입을 진심으로 축하합니다. 이 글은 비공개로 작성돼 있습니다. '편집'으로 내용을 바꾸시거나, 삭제 후 '새 글을 작성'하셔도 됩니다. 블로그를 간단하게 소개하는 글로 편집해보는 것도 좋겠네요. #2 다양한 ..
- Total
- Today
- Yesterday
- Embeded 한글Font적용
- Xamarin.Forms
- 암호 마스터키
- WPF Textbox
- GetCellContent CheckBox Value
- WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
- c# Encrypt / Decrypt
- Xamarin.Ios Firebase Phone SMS OTP Send
- C# LINQ Left join
- Xamarin.Ios Firebase Phone Auth
- FileStream Add Byte
- Windows IIS FTP 디렉토리 목록 오류
- Xamarin.Ios Firebase Phone User Add
- WPF Scrollviewer in ScrollViwer
- 연산자 뒤에 피연산자가 없습니다.
- Label Text LineBreak in Xaml
- ClickOnce 인증서 인증기간 변경
- Microcharts
- ssl_client_socket_impl.cc
- Entry '' has empty native path
- 서버 수준의 URN 필터
- SkiaSharp
- Xamarin SMS OTP Send
- Linux SSH Multi Computer Join
- Xamarin Firebase Phone User Add
- Xamarin reCAPTCHA
- WPF Datagrid Cell Value Change
- Xamarin Firebase Phone Auth
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |