function in template.ascx

  • Thread starter Alexandru Dimitriev
  • Start date
A

Alexandru Dimitriev

in a template.ascx for a DataList I have

<% If column1 Then%>
<td align="center"><%#DataBinder.Eval(CType(Container,
DataListItem).DataItem, "IntegerValue")%></td>
<% End If%>

My problems is where column1 should be declared/calculated from some other
project variables?


The idea is to display that column on the DataList based on a user setting.
No, I can't use a GridView.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top