PC Review


Reply
Thread Tools Rate Thread

DataSet write XML

 
 
Sanjib Biswas
Guest
Posts: n/a
 
      24th Nov 2005
Hi,

I have observed that DataSet.WriteXML() method does not store "Allow
Zero Length", "Indexed", and "Required" properties of the fields of a table
in the table schema.
dataset.WriteXml(stream, XmlWriteMode.WriteSchema)

How do I instruct WriteXML() method to include these information along with
field name, type and size?
<xs:element name="field1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="64" />
</xs:restriction>
</xs:simpleType>
</xs:element>

Also, minOccurs="0" translates into which property in the MS Access
database?

Regards
Sanjib

NB: Please include "microsoft.public.dotnet.languages.vb,
microsoft.public.dotnet.xml" in your reply.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataSet write xml Sanjib Biswas Microsoft VB .NET 0 23rd Nov 2005 10:59 AM
Write dataset to XML and back again to dataset? Dean Slindee Microsoft VB .NET 2 11th Nov 2005 07:51 AM
how to specify what format Dataset uses to write xml =?Utf-8?B?bGVpIHh1?= Microsoft ADO .NET 2 28th Jan 2004 10:11 AM
use dataset to write to a database SteveS Microsoft ADO .NET 2 13th Dec 2003 03:49 AM
write XMLSchema from a dataset isler Microsoft ADO .NET 0 7th Oct 2003 08:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:13 PM.