I think template can solve your problem.
Read "Creating Templates in the Web Forms Designer" in the Visual Studio
.Net 2003 Help document.
--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).
--------------------
From: "Bigtoga" <bi*****@maratrane.com>
Newsgroups: microsoft.public.dotnet.framework.aspnet
Subject: CheckBox Bound to DataReader column inside DataList
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.132
Message-ID: <PU****************@newssvr15.news.prodigy.com>
NNTP-Posting-Host: 68.88.67.166
X-Complaints-To: ab***@prodigy.net
X-Trace: newssvr15.news.prodigy.com 1082821295 ST000 68.88.67.166 (Sat, 24
Apr 2004 11:41:35 EDT)NNTP-Posting-Date: Sat, 24 Apr 2004 11:41:35 EDT
Organization: SBC http://yahoo.sbc.com
X-UserInfo1:
[[PGWWKEZBS[S]HXGZJT_V@AUSXB@DTMNHWB_EYLJZ]BGIELNVUEAE[YETZPIWWI[FCIZA^NBFXZ
_D[BFNTCNVPDTNTKHWXKB@X^B_OCJLPZ@ET_O[G\XSG@E\G[ZKVLBL^CJINM@I_KVIOR\T_M_AW_
M[_BWU_HFA_]@A_A^SGFAUDE_DFTMQPFWVW[QPJNDate: Sat, 24 Apr 2004 15:41:35 GMT
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFT NGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news.glorb.com!prodigy.com!prodigy.com!n ewsmst01a
.news.prodigy.com!prodigy.com!postmaster.news.prod igy.com!newssvr15.news.pro
digy.com.POSTED!688def4b!not-for-mailXref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.aspnet:228734
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
Okay - I'm going crazy here trying to figure out how to do this - here
goes:
I have a DataList populated by a DataReader. In the DataReader, a column is
present called "IsInCategory". I want to have a checkbox bound to that
column (bit in SQL Server).
I have tried everything and can't see a way to do this without createing an
event handler for DataBind() of the CheckBox control. Surely there has to
bea better way (and please don't tell me the better way is to use a DataGrid
lol).
Anyone have advice?
Thanks!