Home All Groups Group Topic Archive Search About
Author
30 Mar 2005 8:39 AM
Nikolay Petrov
How to apply a XML Schema contained in a DataSet to other DataSet?

Thanks

Author
30 Mar 2005 11:30 AM
Cor Ligthert
Nikolay,

dim ds2 as new dataset = ds.clone

I hope this helps,

Cor
Author
31 Mar 2005 5:44 AM
Nikolay Petrov
Not exactly,

I need to copy the Schema from dataset which contains data without copying
the data.



Show quoteHide quote
"Cor Ligthert" <notmyfirstn***@planet.nl> wrote in message
news:%23vD67vRNFHA.2580@TK2MSFTNGP09.phx.gbl...
> Nikolay,
>
> dim ds2 as new dataset = ds.clone
>
> I hope this helps,
>
> Cor
>
Author
31 Mar 2005 6:30 AM
Cor Ligthert
Nikolay,

>> dim ds2 as new dataset = ds.clone

>Not exactly,

> I need to copy the Schema from dataset which contains data without copying
> the data.


And what do you think ds.clone does?

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatadatasetclassclonetopic.asp

Probably I don't understand you,

Cor


Cor
Author
31 Mar 2005 7:34 AM
Nikolay Petrov
Sorry Cor, didn't read the description of the method.
I was just assuming that it copies everything. The 'clone' misleaded me.

Show quoteHide quote
"Cor Ligthert" <notmyfirstn***@planet.nl> wrote in message
news:%23NraysbNFHA.1392@TK2MSFTNGP10.phx.gbl...
> Nikolay,
>
>>> dim ds2 as new dataset = ds.clone
>
>>Not exactly,
>
>> I need to copy the Schema from dataset which contains data without
>> copying the data.
>
>
> And what do you think ds.clone does?
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatadatasetclassclonetopic.asp
>
> Probably I don't understand you,
>
> Cor
>
>
> Cor
>
>