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#
- 인덱스
- MS-SQL
- 문자열 분리
- 숙취
- offline application cache
- injection
- index
- ADO
- .NET Core
- SQL
- HttpCookie
- Visual Stuiod Team Services
- pang caching
- 폰트색상
- oracle
- jquery
- ASP.NET
- Convert
- SEQUENCE
- gitignore
- Git
- asp
- UTF-8
- 암호화
- Windows2003
- IIS
- case
- 오라클
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함