TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
bahar bahari
NA
8
0
make 2 xsd file from xml
Sep 6 2009 8:23 AM
hi
i have 2 xml file:Orders.xml , OrderDetails.xml
i want to make 2 xsd file from them with this code :
DataSet ds = new DataSet();
ds.ReadXml("Orders.xml");
ds.WriteXmlSchema("Orders.xsd");
DataSet ds2 = new DataSet();
ds2.ReadXml("OrderDetails.xml");
ds2.WriteXmlSchema("OrderDetails.xsd");
but when i want run program,i face 17 Error!
one of them is :
Error 1 The type 'WindowsFormsApplication1.DocumentElement' already contains a definition for '_schemaSerializationMode'
Error 2 Type 'WindowsFormsApplication1.DocumentElement' already defines a member called 'DocumentElement' with the same parameter types
Error 3 Type 'WindowsFormsApplication1.DocumentElement' already defines a member called 'DocumentElement' with the same parameter types
and .......
please help me
Reply
Answers (
1
)
i want a tutorial for sub report with Report viewer
how do i create DATASET in this example?