I am getting this error :
' ' is an unexpected token. The expected token is '"' or '''. Line 1, position 15.
on line
sOrders.ReadXml(path);
the value of path is:"C:\\orders\\Orders.xml"
any help pls
private void fswOrders_Created(object sender, FileSystemEventArgs e){
string path = e.FullPath; DataSet dsOrders = new DataSet();dsOrders.ReadXml(path); // ERROR HERE
string strCn = ..."Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Nwind.mdb"; string strOrderQuery = "SELECT * FROM Orders"; OleDbDataAdapter da = new OleDbDataAdapter(strOrderQuery, strCn);Hi there.I am trying to Sync 2 Databases (online db and the offline using web services)using the Dat...
By boitumelo
Hello all, Is there a way to store a custom attribute in the file header of an Xsd file? I would lik...
By anonymous
I'm not sure if this is the best route, but I do know that I chose to use sqlDataReader instead of D...
By kj2w
I have 3 classes that i created. One class pulls a 'master' dataset from a stored procedure, the ot...
By ryanjboyle
hi alli need to add a hiddenfield in a gridview which is to be bound by data by a stored procedure ...
By kuruvilla, 2 Comments
I have created my Dataset that pulls the DownloadID and URL. SELECT URL FROM Downloads WHERE (Downl...
By samsonjr2, 1 Comments
Is it possible to assign multiple values to a commandargument for an imagebutton in a ItemTemplate o...
By dcaver, 1 Comments
Must declare the scalar variable "@User_ID". Description: An unhandled exception occurre...
By alanrodriguez, 4 Comments
Dim gvTechDetails as GridView gvTechDetails = dvWorkOrderDetails.FooterRow.FindControl("gvTechDetail...
By luvdairish, 1 Comments
That line is telling you there is something wrong with your XML file. Likely an invalid character for XML somewhere (like a < where it shouldn't be or something)
looks like your planning to fill the dataset from a database anyway, so is there a reason you're filling (or trying to fill) it with an XML document?
-mwalts
mwalts | Fri, 28 Sep 2007 13:34:00 GMT |