IT Community - Software Programming, Web Development and Technical Support

Code-behind to create node dynamically using XML File or any Stored Procedure

This is a discussion on Code-behind to create node dynamically using XML File or any Stored Procedure within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, Any one tell me how to create nodes and child nodes in code-behind dynamically either using XML File ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-14-2008, 05:04 AM
poornima poornima is offline
D-Web Sr.Programmer
 
Join Date: Dec 2007
Posts: 189
poornima is on a distinguished road
Smile Code-behind to create node dynamically using XML File or any Stored Procedure

Hi,
Any one tell me how to create nodes and child nodes in code-behind dynamically either using XML File as source or any Stored Procedure tat generates XML file as source....
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-14-2008, 08:26 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: Code-behind to create node dynamically using XML File or any Stored Procedure

SQL having for XML Auto/explicit..like that

and XML serialization in code behing lot of options
__________________
The KINGMAKER
Makes Every Thing Possible

Stuffs (My Blog)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-14-2008, 09:19 PM
poornima poornima is offline
D-Web Sr.Programmer
 
Join Date: Dec 2007
Posts: 189
poornima is on a distinguished road
Smile Re: Code-behind to create node dynamically using XML File or any Stored Procedure

XML Serialization returns array of records.I m not getting the nodes in the desired format.I want it through code-behind to generate nodes ...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-14-2008, 09:46 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: Code-behind to create node dynamically using XML File or any Stored Procedure

u have to create Property class for the XML structure

...shortcut to create VS command prompt

xsd file.xml
it will create CLass..

XML Serialization the Class object wil produce the XML
__________________
The KINGMAKER
Makes Every Thing Possible

Stuffs (My Blog)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
stored procedure itbarota Database Support 3 03-10-2008 09:43 PM
how to create stored procedure for view to generate xml? poornima ASP and ASP.NET Programming 3 02-25-2008 12:21 AM
Stored procedure gets executed twice chris VB.NET Programming 0 10-30-2007 08:55 AM
Is it possible to create Stored Procedure in Dataset Using Distinct Key ? KiruthikaSambandam ASP and ASP.NET Programming 1 08-08-2007 08:03 AM
Can a stored procedure call itself or recursive stored procedure? How many level SP n H2o Database Support 1 08-03-2007 10:55 AM


All times are GMT -7. The time now is 07:12 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0