473,657 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

programmaticall y 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>varch ar</uom_code>
<uom_descriptio n>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 1897
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/cpconloadingdat asetfromxml.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.goo glegroups.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>varch ar</uom_code>
<uom_descriptio n>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
8789
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
6799
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 way is using javascript - does anybody have a sample for this ? Thanks
1
2551
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 programmatically creating/modifying windows user accounts - does anyone know of a .net library or windows API that does this? We do not currently use active directory on this server - however I believe ADSI has some support for this so if that's the only...
6
1674
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, and tables just as I want them, but I don't know how to get them to render. Is there a function to add the html code for the tables to the aspx file during run time? What is the best way to handle this. Any examples I find to creating tables...
4
3084
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 use. The equivalent GUI steps would be, open IIS, select my application->properties, app configuration, in whildcard application mapping type the path to aspnet_isapi.dll. Thanks, Jingmei Li
6
11552
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 I have no idea how to do something like this with VB.Net. Has anyone done something like this or know where I can find out information how to perform the process of signing a document when sending it then checking one on receipt? Your help is...
1
1446
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 decipher. The microsoft web page also wasnt helpful because the information i was looking for was cut off...does anyone know how to do this in .net? thanks -- -iwdu15
0
4255
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 (system generated) by one of my asp.net page. All fields and its values to be displayed on the RDLC file are coming a stored procedure. On my stored procedure I'm using a temp table for example #MyTable and its columns can adjust...
11
2937
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, having hyperlinks to the corresponding full size images. Can anybody point me to locations in MSDN or elsewhere giving the references to attach, the commands & objects for creating or opening the pages and possibly available classes? I have done...
0
8394
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8306
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7327
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6164
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.