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. how to call parameters in excelshet to asp.net/xml?

how to call parameters in excelshet to asp.net/xml?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netxmlhelptutorial
2 Posts 2 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.
  • S Offline
    S Offline
    sasire18
    wrote on last edited by
    #1

    hi I have created an excel sheet and saved in the application under wwwroot i like to know how i can pick up certain details like age or name from sheet and displayed in the webpage (using asp.net & C#).is there any external tool required for this?Since i am using file explorer where drive, folders, files,excelsheet appear.I tried to use xml file but was able to call of the entire file not certain parameters from xml. anyone could tell how i can proceed this problem sasi

    S 1 Reply Last reply
    0
    • S sasire18

      hi I have created an excel sheet and saved in the application under wwwroot i like to know how i can pick up certain details like age or name from sheet and displayed in the webpage (using asp.net & C#).is there any external tool required for this?Since i am using file explorer where drive, folders, files,excelsheet appear.I tried to use xml file but was able to call of the entire file not certain parameters from xml. anyone could tell how i can proceed this problem sasi

      S Offline
      S Offline
      sathish s
      wrote on last edited by
      #2

      sasire18 wrote:

      i like to know how i can pick up certain details like age or name from sheet

      Have a look into these articles, once you have these details in a dataset, reading values should be easy. Excel_Connectivity[^] Excel_Application_in_C[^]

      sasire18 wrote:

      I tried to use xml file but was able to call of the entire file not certain parameters from xml.

      It is possible to read individual elements and attribute from a xml file. Easiest way is to use Dataset ds=new dataset(); ds.ReadXml("xmlpath"); Another method is to use XpathNavigator, Xpath queries with XmlDocument.

      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