S
Scott M.
In ADO.NET 2.0, using VS 2005 Pro., I have visually made a strongly-typed
dataset by dragging a SQL Server 2005 table from my Server Explorer window
(where I've previously made a connection) onto a blank DataSet designer.
This works just fine, and a TableAdapter is generated as well. In code, I
can use the TableAdapter's Fill method to populate a new instance of my
dataset with no problems.
But, if I try to pass the xml representation of the dataset (using the
dataset.GetXML() method), the dataset's namespace is rendered as:
xmlns=\"http://blah/blah\">
This is causing me to NOT be able to read this XML into a different dataset
later. I've tried simply replacing the escape code with nothing or even
" to no avial, nothing modifies it.
Why is this doing this and how can I change it?
-Scott
dataset by dragging a SQL Server 2005 table from my Server Explorer window
(where I've previously made a connection) onto a blank DataSet designer.
This works just fine, and a TableAdapter is generated as well. In code, I
can use the TableAdapter's Fill method to populate a new instance of my
dataset with no problems.
But, if I try to pass the xml representation of the dataset (using the
dataset.GetXML() method), the dataset's namespace is rendered as:
xmlns=\"http://blah/blah\">
This is causing me to NOT be able to read this XML into a different dataset
later. I've tried simply replacing the escape code with nothing or even
" to no avial, nothing modifies it.
Why is this doing this and how can I change it?
-Scott