Sintax error

Discussion in 'ASP .Net' started by simon, Sep 21, 2005.

  1. simon

    simon Guest

    This works in VB:
    <td <%# myFunction(DataBinder.Eval(Container.DataItem,"column1"))%>>

    but in C# doesn't.

    What is the right sintax to include some text between the html tag in C#?
    I can't found.

    Thank you,
    S
    simon, Sep 21, 2005
    #1
    1. Advertising

  2. Hi Simon,

    how about
    <td <%#
    myFunction(DataBinder.Eval(Container.DataItem,"column1").ToString())%>>

    btw i am still lol'ing @ the subject "Sin"tax error.



    "simon" wrote:

    > This works in VB:
    > <td <%# myFunction(DataBinder.Eval(Container.DataItem,"column1"))%>>
    >
    > but in C# doesn't.
    >
    > What is the right sintax to include some text between the html tag in C#?
    > I can't found.
    >
    > Thank you,
    > S
    >
    >
    >
    =?Utf-8?B?S2F1c3Rhdi4=?=, Sep 21, 2005
    #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. bob
    Replies:
    5
    Views:
    5,090
  2. MKTMK
    Replies:
    0
    Views:
    321
    MKTMK
    Oct 5, 2005
  3. macaela
    Replies:
    0
    Views:
    1,435
    macaela
    Jan 17, 2011
  4. Yuri Camara

    Sintax Error on Firebug <![CDATA[

    Yuri Camara, Jul 19, 2011, in forum: XML
    Replies:
    1
    Views:
    915
    Martin Honnen
    Jul 19, 2011
  5. Yuri Camara
    Replies:
    1
    Views:
    1,007
    Joe Kesselman
    Jul 19, 2011
Loading...

Share This Page