CheckBox Bound to DataReader column inside DataList

  • Thread starter Thread starter Bigtoga
  • Start date Start date
B

Bigtoga

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 be
a better way (and please don't tell me the better way is to use a DataGrid
lol).

Anyone have advice?

Thanks!
 
I think template can solve your problem.

Read "Creating Templates in the Web Forms Designer" in the Visual Studio
.Net 2003 Help document.
 
Back
Top