Click here to Skip to main content
15,908,841 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Any body Help.....

I am using VS-2008 and Sqlserver 2005.
I am trying to Upload Xml file into Sqlserver. How can I do.

Please provide the code.............step by step.
Posted

1 solution

method 1: you should read it node by node and send it to related fields in SQL Server.

method 2: Open the file in ios::out mode and read data from it in a buffer and save in Sql server. You table should have two fields first file name, second content of file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900