Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing DataSets to .NET
Message
De
24/01/2005 10:12:13
 
 
À
24/01/2005 10:00:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00978183
Message ID:
00979993
Vues:
46
Tim,

>I have said it before, all the way through. My problem is entitled "Passing DataSets to .NET", the first line of my first post is "I'm having trouble passing DataSet objects to .NET from VFP8SP1". Oh Well<

Yeah, but you also mentioned Diffgrams. I assumed you were passing XML. Sorry about the misunderstanding. =(

>I've used this method of passing DataSet objects to .Net from VFP before in a previous job and it worked perfectly. <

OK, so I haven't been doing VFP since VFP7. I have VFP8 and I'm using it for little utility-type programs, but I've not messed around with any new features and I've not used it with .NET at all. I was not even aware you could create a DataSet. It obviously is not 100% compatible with a .NET DataSet. That is why I've always said that WebServices should never accept DataSets as parameters, only XML strings. That is the "best practices" way of using a WebService, since it enables the WebService to be called from *any* client at all.

~~Bonnie


>
>At least it's all cleared up now anyway. When this originally gave me trouble i also wrote a similar method which read in the XML from a passed string. However, this suffered the same problem and I was looking in the wrong place to sort the problem out.
>
>I've used this method of passing DataSet objects to .Net from VFP before in a previous job and it worked perfectly. However, this would not cope with the CHR(10) that I found thanks to your help :)
>
>What issues are there with my method? I would have thought that the XML string conversion would incur extra overhead
>
>cheers
>
>Tim
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform