Re: Editing static text in ItemTemplate

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Greg Burns (greg_burns_at_DONT_SPAM_ME_hotmail.com)
Date: 10/03/04


Date: Sun, 3 Oct 2004 17:12:35 -0400

I apologize for being curt. No place for that. I should have explained
better.

Greg

"Andre Viens" <AndreViens@discussions.microsoft.com> wrote in message
news:DFF41716-1D24-4172-AF88-1FF97602ED1E@microsoft.com...
> Hello Greg,
>
> My apologies...
>
> I did in fact try the SeparatorTemplate, but I immediately went to debug
> mode to try and extract the final separator. I did not realize the
> separator
> itself would not render for the last item.
>
> This works great. Thanks for the help!
>
> - Andre
>
> "Greg Burns" wrote:
>
>> > It has been suggested to use a SeparatorTemplate to do this, but I
>> > still
>> > do
>> > not see how to reference the final SeparatorTemplateItem after it is
>> > bound
>> > to
>> > the data.
>>
>> Did you bother to even try?
>>
>> <asp:Repeater id="rptSummary" runat="server">
>> <ItemTemplate>
>> <%# DataBinder.Eval(Container.DataItem,
>> Container.DataItem.Row.Table.Columns(0).ColumnName)%>
>> </ItemTemplate>
>> <SeparatorTemplate>,</SeparatorTemplate>
>> </asp:Repeater>
>>
>> SELECT TOP 10 CustomerID FROM customers
>>
>> outputs...
>>
>> ALFKI , ANATR , ANTON , AROUT , BERGS , BLAUS , BLONP , BOLID , BONAP ,
>> BOTTM
>>
>> Greg
>>
>>
>>



Relevant Pages

  • Re: Will Someone Please Let Me Know...feverish
    ... My honest opinion is you all rock and you're a great bunch ... I can't speak for Greg, ... looking to start trouble. ... If I were to apologize that means ...
    (alt.fashion)
  • Re: Will Someone Please Let Me Know...feverish
    ... My honest opinion is you all rock and you're a great bunch of people, ... I can't speak for Greg, ... looking to start trouble. ... If I were to apologize that means ...
    (alt.fashion)
  • Re: Will Someone Please Let Me Know...
    ... All they need to do is apologize and ... Joann and Greg have a lot to answer for. ... shouldn't have ate all the fucking halloween cupcakes. ... wanna bite? ...
    (rec.food.cooking)
  • Re: Corn Bread Emergency
    ... nb...I just find that Pandora benefits if she gets ... I apologize to all rfc regulars for operating under the assumption ... that Greg is a rational, literate, human beihng. ...
    (rec.food.cooking)
  • macro for merging vertically
    ... Greg provided the solution I was looking for. ... I apologize to the others if my unclear explanation made ... I learnt from this thread how to ask more clearly (i.e. ...
    (microsoft.public.excel.programming)