일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- replace()
- oracle
- 단축키
- MS
- DataGrid
- windows
- microsoft
- SSRS
- c#
- MSSQL
- 마이크로소프트
- 프로시저
- 오라클
- 비주얼스튜디오
- 이클립스
- Winform
- 자바스크립트
- aspnet
- 엑셀
- jQuery
- IIS
- attr()
- 윈도우
- CONVERT()
- 리포팅서비스
- 태그를 입력해 주세요.
- ASP
- Excel
- javascript
- 윈폼
Archives
- Today
- Total
목록foreach문 (1)
DJ메탈짱™의 Free Style
[ASP.NET] foreach 문을 활용하여 컨트롤 제어하기
private void Page_Load(object sender, System.EventArgs e){ // 비활성화 되어 있는 컨트롤을 초기화 함. SetControl(this) ;} /// /// 2007/10/30 - add by bhchoi /// 비활성화 되어있는 컨트롤을 초기화 하도록 함. /// /// Control private void SetControl(Control Page) { foreach (Control ctrl in Page.Controls) { if (ctrl is TextBox) { if (((TextBox)(ctrl)).ReadOnly) // ReadOnly = True(필수입력아님)인 Textbox 값을 초기화 함. { ((TextBox)(ctrl)).Text = ""..
일(job)/MS(Microsoft)
2015. 11. 25. 12:37