Typed Dataset

  • 15 years ago

    I have a stored procedure that calls all of my data that I need.  Some data is used more than once.  I'm still a newbie at web services.


    I created a typed dataset with complex types.


    I need to output from the webservice something that looks like this:
    'itemgroup is the same as recipientid, and itemidentifier is the filenumber in eventdata, definfodata, and
    'defattrdata


    <transaction itemgroup = "###" itemidentifier="" recipientid="###">
        <eventdata>
             <file
    number>
             <eventtype>
        </eventdata>
        <definfodata>
             <file
    number>
             <defendantnumber>
        </definfodata>
        <defattrdata>
             <file
    number>
             <nameofparty_served>
        </defattrdata>
    </transaction>


    How do I go about returning an xml document like this?

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“XML is like violence - if it's not working for you, you're not using enough of it.”