| |

VerySource

 Forgot password?
 Register
Search
View: 630|Reply: 3

[Very desperate] readxml column already belongs to this DataTable

[Copy link]

2

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-3-5 20:00:02
| Show all posts |Read mode
DataSet ds = new DataSet ();
 ds.ReadXml ("http://www.cnblogs.com/dudu/Rss.aspx");

"The column already belongs to this DataTable" when reading the xml file with the above statement
How to solve this problem?
Thank you.
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-5-20 22:15:02
| Show all posts
Are the column names duplicated?
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-5-21 17:45:01
| Show all posts
Open and look at the XML file, there should be a duplicate name column
Reply

Use magic Report

2

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-5-24 03:00:01
| Show all posts
How to solve it?
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list