none
Json return string and double quotes RRS feed

  • Question

  • I'm building a return string and getting confused with the double quotes.

    For the life of me, I cant see where I'm going wrong. 


    RtnStr1 = "{""customerid"" : """ & sdr("CustomerId").ToString() & """ ,""Company"" : """ & sdr("Company").ToString() & """ " &

    I get this error:

    An exception of type 'System.IndexOutOfRangeException' occurred in System.Data.dll but was not handled in user code

    Help please?

    • Edited by juliemac Tuesday, October 31, 2017 12:27 PM
    Tuesday, October 31, 2017 9:38 AM