'&' in DataBinding expressions

Discussion in 'ASP .Net' started by Vik, Apr 21, 2004.

  1. Vik

    Vik Guest

    Concatenation operator & used in the databinding expressions for the
    datagrid template columns appears as '&' in HTML. It causes an error
    when opening the pages. I have to replace '&' by '&' each time I edit
    the template column. Is there a way to avoid this problem?

    Thank you.
    Vik, Apr 21, 2004
    #1
    1. Advertising

  2. Vik

    mikeb Guest

    Vik wrote:

    > Concatenation operator & used in the databinding expressions for the
    > datagrid template columns appears as '&' in HTML. It causes an error
    > when opening the pages. I have to replace '&' by '&' each time I edit
    > the template column. Is there a way to avoid this problem?
    >


    Use the '+' concatenation operator or String.Concat()?

    --
    mikeb
    mikeb, Apr 21, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jason Wright via .NET 247
    Replies:
    2
    Views:
    669
    Brian W
    Jun 12, 2004
  2. Nathan Sokalski
    Replies:
    4
    Views:
    483
    Nathan Sokalski
    Aug 19, 2005
  3. Mr Newbie
    Replies:
    2
    Views:
    1,547
    Mr Newbie
    Sep 19, 2005
  4. jobs
    Replies:
    0
    Views:
    1,600
  5. Earl Teigrob
    Replies:
    1
    Views:
    394
    Shravan
    Mar 1, 2004
Loading...

Share This Page