programmatically creating a table in dotnet

  • Thread starter Thread starter Priya
  • Start date Start date
P

Priya

Hi,

I need to create a temp table in my asp.net web services program. I
have an xml file of the format

<uom_masters>
<uom_code>varchar</uom_code>
<uom_description>varchar</uom_description>
<uom_tolerance>money</uom_tolerance>
</uom_masters>

I need to read the fields along with the datatypes an create a table
with all these fileds in the program itself. Does anyone have an idea
how to do it. Thanks in advance
 
Hi,

To fill a DataSet with data from XML, simply use the DataSet.ReadXml()
method. You can use the XmlReadMode parameter to fine tune your
requirements.

For more information : (MSDN help)

ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconloadingdatasetfromxml.htm

Check out this link for more information related to what you're doing :

http://msdn2.microsoft.com/en-us/library/s5xy331f.aspx

Hope this helps,

Regards,

Cerebrus.
 
Hi,

Thanks for the help The link was useful. I have resolved my problem of
creating temp table
 
Back
Top