Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting dataset to xml
Message
General information
Forum:
ASP.NET
Category:
XML
Miscellaneous
Thread ID:
01062521
Message ID:
01062871
Views:
16
>>To get schema information you need to load the dataset with schema info by using the DataAdapter.MissingSchemaAction property and setting to MissingSchemaAction.AddWithKey.
>>
>>As to the output generated - if you're generating to string you'll get Unicode output because all .NET strings are Unicode - there's no such thing as a UTF-8 encoded string. If you need to pass UTF-8 encoded text back to whatever you can use Encoding.UTF8 to convert to bytes and pass that back instead.
>
>thanks, Rick!
>I'll try it this way. It's far more work than just do a "cursortoxml()" in

Not if you're outputting to stream <g>, which is .NET's way of formatting output.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform