Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Create xml file in asp.net with C#

Create xml file in asp.net with C#

Scheduled Pinned Locked Moved ASP.NET
csharpquestionhtmlasp-netdatabase
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mahichandu
    wrote on last edited by
    #1

    Hi I got one task in my project..i am new to C# technolgies..Please suggest me some way,.. I have some fields ssn,Firstname,lastname,Dayofbirth,Dayofmonth,Dayofyear,sex,Fathers surname,father intials and i have some search conditions to search the data..like 1.Fname,Lanme ,Doy 2.Lname,Fatherssurname,DOB,DOM,DOY 3.ssn..etc when the user enter the values and clicks submit button the vluea are matching with any of my search condition i have to generate xml file and send to the task table in database.. How can i do that ??? first i want to create xml file..how to do tht ? after creating xml file..i have to write looping statement right??my condittion statement like how?? if(!ssn=null):confused: { ?? }

    L P 2 Replies Last reply
    0
    • M mahichandu

      Hi I got one task in my project..i am new to C# technolgies..Please suggest me some way,.. I have some fields ssn,Firstname,lastname,Dayofbirth,Dayofmonth,Dayofyear,sex,Fathers surname,father intials and i have some search conditions to search the data..like 1.Fname,Lanme ,Doy 2.Lname,Fatherssurname,DOB,DOM,DOY 3.ssn..etc when the user enter the values and clicks submit button the vluea are matching with any of my search condition i have to generate xml file and send to the task table in database.. How can i do that ??? first i want to create xml file..how to do tht ? after creating xml file..i have to write looping statement right??my condittion statement like how?? if(!ssn=null):confused: { ?? }

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      You might want to check out the XML DOM tutorials at www.w3schools.com

      1 Reply Last reply
      0
      • M mahichandu

        Hi I got one task in my project..i am new to C# technolgies..Please suggest me some way,.. I have some fields ssn,Firstname,lastname,Dayofbirth,Dayofmonth,Dayofyear,sex,Fathers surname,father intials and i have some search conditions to search the data..like 1.Fname,Lanme ,Doy 2.Lname,Fatherssurname,DOB,DOM,DOY 3.ssn..etc when the user enter the values and clicks submit button the vluea are matching with any of my search condition i have to generate xml file and send to the task table in database.. How can i do that ??? first i want to create xml file..how to do tht ? after creating xml file..i have to write looping statement right??my condittion statement like how?? if(!ssn=null):confused: { ?? }

        P Offline
        P Offline
        Pavan_Putra
        wrote on last edited by
        #3

        To create an XML file you can use LINQ. It's like your Database Query....You can learn it easily also it is very useful. Otherwise you have to take care of child elements and sub elements and so on...with a hell lot of conditions in LOOPS.

        It's not enough to be the best, when you have capability to be great....

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups