Specifying default values for columns using XSD

  • Thread starter Marc Scheuner [MVP ADSI]
  • 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
 
S

Sunder Thondamuthur

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top