πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database.dotnet
Article #122

Re: Creating Strongly Typed Datasets from XSD files

#122
From: James Tilby
Date: Tue, 26 Sep 2006 15:20
23 lines
1954 bytes
Thank you Robert! That's exactly what I was looking for. I can also use the 
option "create instance of dataset" to put one of the dataset controls on my 
form. Perfect.

"Robert οΏ½gren" <robert.ogren.re-mo-ve-me@prodacapo.remove.com.remove> wrote 
in message news:451781ab$1@newsgroups.borland.com...
> James Tilby wrote:
>> I am looking for a way that I can convert an XML schema (XSD) file into a 
>> strongly typed dataset class. I can see this can be done from a database 
>> source, but I want to use a schema file.
>>
>> In Visual Studio I can do this in the IDE, but would like to do this in 
>> the Delphi IDE and create Delphi (pascal) code.
>
> Hi,
>
> if you have added the XSD file to a Delphi.NET project, try right-clicking 
> the XSD file in the project manager and selecting Generate dataset (at the 
> bottom of the menu). The file must be saved before the Generate dataset 
> option is available IIRC.
>
> Regards,
> Robert 
Technical Details
Message-ID: <451945b8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45116da1@newsgroups.borland.com> <451781ab$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,e8a528f0ebc1ac60
X-Google-Attributes: gid1effe6,public
X-Google-Language: ENGLISH,ASCII
From: "James Tilby" <tilbyjnotthis@hotmail.com>
Newsgroups: borland.public.delphi.database.dotnet
References: <45116da1@newsgroups.borland.com> <451781ab$1@newsgroups.borland.com>
Subject: Re: Creating Strongly Typed Datasets from XSD files
Date: Tue, 26 Sep 2006 16:20:35 +0100
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 80.192.120.132
Message-ID: <451945b8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1159284152 80.192.120.132 (26 Sep 2006 08:22:32 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail