You must Sign In to post a response.
  • Category: XML

    The name 'JsonConvert' does not exist in the current context

    HI

    what should this error mean and how do I fix it
    The name 'JsonConvert' does not exist in the current context

    XmlDocument doc = (XmlDocument)JsonConvert.DeserializeXmlNode(json,"root");
    objBLL.insert_XMLEducation(doc, Convert.ToInt64(ui.id));

    Thanks
    Smitha
  • #611683
    You need to add the name space in the application to use the JASON service. The name space is.


    using Newtonsoft.Json;


    or the other DLL you are using.

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM

  • #611800
    Hi,

    Please find the below link that will help you.

    http://james.newtonking.com/projects/json/help/html/T_Newtonsoft_Json_JsonConvert.htm

    Thanks,
    -Kalidasu.


This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.