Specifying default values for columns using XSD

  • Thread starter Thread starter Marc Scheuner [MVP ADSI]
  • Start date Start date
M

Marc Scheuner [MVP ADSI]

Folks,

I've defined my dataset by means of an XSD, and it works okay - I was
wondering if there's a way to specify default values for columns (e.g.
true/false for booleans) in the XSD itself? Can't seem to find
anything..... but there's *got* to be a way, no?

Marc

================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 
Hi Marc
You can either set them thru Dataset Designer or in the XSD , You can set
it like this
<xs:element name="LastName" type="xs:string" default="myName" />

Thanks
Sunder
VB.Net
 
Back
Top