Posted on: 11/16/2013 12:25:00 PM | Views : 746

I have a repeater that get the database item like this
<asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">     <ItemTemplate> <asp:Literal ID="A" Text='<%#Eval("A")%> ' runat="server"> <asp:Literal ID="B" Text='<%#Eval("B")%> ' runat="server"> <asp:Literal ID="C" Text='<%#Eval("C")%> ' runat="server"> </asp:Literal>     </ItemTemplate>      </asp:Repeater> 
I cannot hardcode this A, B, C above because the SqlDatasource this time has column A, B, C, the other time it is D, E, F and keep changing.
Luckily, I have another Sqldatasource2 that stores these changing A,B,C or D, E, F realtime. It's database is single column like this
Dimension ==== ...

Go to the complete details ...