none
Escape division in vb linq name RRS feed

  • Question

  • How would I escape the below division in a VB linq name? This should be simple but I'm not sure how to do it. Basically the compiler is considering the forward slash (/) a division.

    from tmp In blah where blah select [My/Name] = tmp.blah


    "I have no particular talent. I am merely inquisitive." -- Albert Einstein
    Monday, November 14, 2011 4:41 PM

Answers

  • Hi Ģ®€ğ§QĻ;

    Variable names in Visual Basic are not permitted to have the / in its name. the only valid characters are that are permitted can be found on the Microsoft documentation: Declared Element Names.

     


    Fernando (MCSD)

    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".
    • Marked as answer by Ģ®€ğ§QĻ Monday, November 14, 2011 6:50 PM
    Monday, November 14, 2011 6:19 PM