Community discussion forum

Inserting values from XML into database

  • 11 months ago
    hi, i've one query regarding XML... **how to insert values from xml to a database using sql string... plz help me out.... regards, geeth
    Post was edited on 18/12/2008 08:59:48 Report abuse
  • 11 months ago
    Its very difficult to answer your question unless you are little more specific. How does your XML look like? Whats your database? Ms SQL? are you trying to insert to using Query Analyser?
  • 11 months ago
    You can read your XML using the XmlTextReader class and then put the specific nodes values into db using the db commands with parameters.

Post a reply

Enter your message below

Sign in or Join us (it's free).

We'd love to hear what you think! Submit ideas or give us feedback