I have a datalist that will always return 2 records. The first record
should be called "Latest Edition", the second "Previous Edition". How can I
identify which is which in the .net code and replace have this label show up
correctly. Below, I have hardcoded in "Latest Edition"..
<asp:DataList id="DataList1" runat="server" DataSource='<%#
DataBinder.Eval (DsEobNew1, "Tables[fn3ExecBriefHom e]") %>'
DataMember="fn3 ExecBriefHome" DataKeyField="g c_id" SHOWHEADER="Fal se"
SHOWFOOTER="Fal se">
<ITEMTEMPLATE >
. <B>Latest Edition</B> - <A HREF="index.asp x?pageID=eobDoc &g=<%#
DataBinder.Eval (Container, "DataItem.gc_id ") %>"><%#
DataBinder.Eval (Container, "DataItem.publi shed") %></A>
</ITEMTEMPLATE>
</ASP:DATALIST>
--
_____
DC G
should be called "Latest Edition", the second "Previous Edition". How can I
identify which is which in the .net code and replace have this label show up
correctly. Below, I have hardcoded in "Latest Edition"..
<asp:DataList id="DataList1" runat="server" DataSource='<%#
DataBinder.Eval (DsEobNew1, "Tables[fn3ExecBriefHom e]") %>'
DataMember="fn3 ExecBriefHome" DataKeyField="g c_id" SHOWHEADER="Fal se"
SHOWFOOTER="Fal se">
<ITEMTEMPLATE >
. <B>Latest Edition</B> - <A HREF="index.asp x?pageID=eobDoc &g=<%#
DataBinder.Eval (Container, "DataItem.gc_id ") %>"><%#
DataBinder.Eval (Container, "DataItem.publi shed") %></A>
</ITEMTEMPLATE>
</ASP:DATALIST>
--
_____
DC G
Comment