Let me try to explain my situation. I have a database table which contains, among other things, a boolean column called PermissionSlipRequired. I have a repeater on my page, and before each row in the database is shown in the repeater, I want to use my code behind to check the value of PermissionSlipRequired. Based on whether the value of PermissionSlipRequired is true or false, I want to change the text of a literal within the repeater. That's a real mouthful, hopefully some markup and code will clarify. Here's my repeater:
<asp:Repeater ID="PermissionSlipRepeater" runat="server"
DataSourceID="EventsSqlDataSource">
<ItemTemplate><p class="ModuleContent"><span class="InlineTitle"><%# Eval("Title")%></span><br />
<asp:Literal ID="PermissionSlipLiteral" runat="server"></asp:Literal></p>
</ItemTemplate>