Repeater에서 Server Control ID값
출처: 루니님 블로그 protected void btn_Click(object sender, EventArgs e) { int nCount = rptList.Items.Count; for (int i = 0; i < nCount; i++) { CheckBox chkIDX = (CheckBox)rptList.Items[i].FindControl("chkIDX"); if (chkIDX.Checked) { HiddenField hidIDX = (HiddenField)rptList.Items[i].FindControl("hidIDX"); // DB내용... // Response.Write(hidIDX.Value); } } }
WEB TIP/C# ,ASP.NET
2011. 12. 9. 12:03
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- c#
- case
- HttpCookie
- ADO
- Git
- 문자열 분리
- oracle
- ASP.NET
- asp
- .NET Core
- Convert
- pang caching
- index
- SEQUENCE
- injection
- IIS
- UTF-8
- 영어
- 숙취
- offline application cache
- 암호화
- Windows2003
- jquery
- Visual Stuiod Team Services
- SQL
- 폰트색상
- 인덱스
- MS-SQL
- 오라클
- gitignore
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함