D
davidw
In my current solution, I create xml in dll by checking the returned rows
from sql, for example, I will get xml like this
<i><name>test</name><age>10</age></i>
from
select fieldtag=1,name='test',age=10
or
<field name="age">10</field>
from
select xml_??='<field name="age">10</field>'
what I did is creating xml of my standard from different data from sql
server. From recently reading, I found dataset is a suggest solution to
pass data around in dll, so I am trying to figure out a way to store data
from my sql server to a dataset and get the desired xml from it when it is
need. I think my questions are:
1, Does my solution look reasonable?
2, How could I get the xml match my xml schema?
Thanks!
from sql, for example, I will get xml like this
<i><name>test</name><age>10</age></i>
from
select fieldtag=1,name='test',age=10
or
<field name="age">10</field>
from
select xml_??='<field name="age">10</field>'
what I did is creating xml of my standard from different data from sql
server. From recently reading, I found dataset is a suggest solution to
pass data around in dll, so I am trying to figure out a way to store data
from my sql server to a dataset and get the desired xml from it when it is
need. I think my questions are:
1, Does my solution look reasonable?
2, How could I get the xml match my xml schema?
Thanks!