'_Chairs' is an unexpected token. The expected token is '='. Line 1, position 545.
-
Good Day I have an XML attached in the following zipped file and i read it like this in C# http://www.vbforums.com/attachment.php?attachmentid=74357&d=1258368852[^] and i read it like this in C#
DataSet ds1 = new DataSet(); StringReader rdr = new StringReader(xmlstr.ToString()); ds1.ReadXml(rdr);
and i get the Following Error
'_Chairs' is an unexpected token. The expected token is '='. Line 1, position 545.
Thanks
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
-
Good Day I have an XML attached in the following zipped file and i read it like this in C# http://www.vbforums.com/attachment.php?attachmentid=74357&d=1258368852[^] and i read it like this in C#
DataSet ds1 = new DataSet(); StringReader rdr = new StringReader(xmlstr.ToString()); ds1.ReadXml(rdr);
and i get the Following Error
'_Chairs' is an unexpected token. The expected token is '='. Line 1, position 545.
Thanks
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
-
Vuyiswa Maseko wrote:
and i get the Following Error '_Chairs' is an unexpected token. The expected token is '='. Line 1, position 545.
Well it took me less than twenty seconds to find this token, plainly showing the syntax error. Did you try the same?
i found the Problem. The name of the Attribute was Desks_&_Chairs Thanks
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/