473,396 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

programmatically creating a table in dotnet

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

Mar 20 '06 #1
3 1878
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.

Mar 20 '06 #2
Priya,

Don't look that this is a windowsforms sample, creating the datatable is the
same.

http://www.vb-tips.com/default.aspx?...8-1def3152436f

I hope this helps,

Cor

"Priya" <pr****************@gmail.com> schreef in bericht
news:11**********************@j33g2000cwa.googlegr oups.com...
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

Mar 20 '06 #3
Hi,

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

Mar 21 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: John Spiegel | last post by:
Hi all, How would you go about creating a .lnk file programmatically? I can't seem to find an appropriate class. TIA, John
5
by: Carlo Marchesoni | last post by:
From an aspx page (A.aspx) I open another one (B.aspx - for table lookup). When the user selects an entry in B.aspx I would like to force a button's event in A.aspx to be fired. I guess the only...
1
by: J. Shane Kunkle | last post by:
I would like to create a web form that gives administrators the ability to create and modify windows users on our server. The problem is that I am having trouble finding examples of...
6
by: David Tilman | last post by:
I need to create some tables on a web page at run time rather than design time. There could be 1 - 5 tables on the page depending on options. I've created the tables by creating the cells, rows,...
4
by: BentleyInc | last post by:
I'm trying to find a way to add a whildcard application mapping to aspnet_isapi.dll in IIS programmatically.... been looking into IIS administrator reference but didn't find the right function to...
6
by: Matt Frame | last post by:
I have a client that has asked us to get a digital signature certificate and start digitally signing all files we pass between each other. I have heard of the subject and know about the certs but...
1
by: iwdu15 | last post by:
hi, i want to be able to create a file extension programmatically (like .abc will open my app), but all gogole searches came up with VB code in VB5 or earlier....which used API calls that i couldnt...
0
by: =?Utf-8?B?WmVk?= | last post by:
Good Day, I been looking for a day now and I couldn't find a good source of information. I have a one of a kind report wherein the RDLC file including all controls are programmatically generated...
11
by: =?Utf-8?B?UGV0ZXIgSw==?= | last post by:
I am working with Visual Studio or alternately with Expression Web. I need to create about 50 aspx pages with about 1200 thumbnali images, typically arranged in three to four groups per page,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.