locked
Property variable value with backslash RRS feed

  • Question

  • User1909155429 posted

    Hi, I have a Property of City/Town.

    My objectdatasource will not recognise this as a property variable ?

    Thanks

    Thursday, September 1, 2011 1:32 PM

Answers

  • User-1694870838 posted

    Hi:

    In regard to your case, this problem can achieve by using escape character.

    But I suggest you another good idea to use CityOrTown.

    Since city and town are different, you can separate them into the property.

    And there are some naming conventions, so you can comply with it.

     For more information about the naming convention, please visit:

    http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices

    Best Regards,
    Damon

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 5, 2011 11:11 PM

All replies

  • User617492218 posted

    why not just rename it CityTown  ?

    Thursday, September 1, 2011 1:45 PM
  • User1105670391 posted

    i sugest that you try to always use A-Z a-z 0-9 _ (alphanumeric and underscore) in names

    even if other characters are allowed, ..

    make it

    CityOrTown

    Thursday, September 1, 2011 5:33 PM
  • User-1694870838 posted

    Hi:

    In regard to your case, this problem can achieve by using escape character.

    But I suggest you another good idea to use CityOrTown.

    Since city and town are different, you can separate them into the property.

    And there are some naming conventions, so you can comply with it.

     For more information about the naming convention, please visit:

    http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices

    Best Regards,
    Damon

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 5, 2011 11:11 PM
  • User1909155429 posted

    the user has the option of entry either town or city and i named my table column City/Town.so my boundfields and associated property variables had to match. 

    Tuesday, September 6, 2011 1:19 PM
  • User1909155429 posted

    i think i used the escape character without success.

    private property City+"@/"+Town as string

    Tuesday, September 6, 2011 1:21 PM