المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Illegal characters in path.



C# Programming
08-04-2010, 08:41 PM
Good Day

I have the following code


String XMLString = Convert_To_XML(Search);
StringReader xmlSR = new StringReader(XMLString);
xmlDatadoc.DataSet.WriteXml(XMLString); dsFinal = xmlDatadoc.DataSet;
dsFinal.ReadXml(xmlSR);
DataView dvSubjects = dsFinal.Tables[0].DefaultView;

when i run it , i get
Illegal characters in path.
it looks for a path and i am using an xml string, how to i add an xml from a string variable to a dataset

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/