Re: Insert XML to SQL tables
I found this write up and found it more simple for me to understand:http://www.codeproject.com/KB/database/TransferUsingSQLBulkCopy.aspxI got it working with this Code: using System; using...
View ArticleRe: Insert XML to SQL tables
In his Code:connection.Open(); sbc.WriteToServer(dsr.Tables[0]); connection.Close(); sbc.Close();few things I dont undersand : connection.open(); - did he just leave the part that defines the...
View ArticleRe: Insert XML to SQL tables
Im using VS2010 ConsoleApplication.I will read up on that post, Thanks :)
View ArticleRe: Insert XML to SQL tables
Where and which type of page you are writing your code ? you can lil help from,http://forums.asp.net/t/1649024.aspx/1
View ArticleRe: Insert XML to SQL tables
I did solve the connection error. I had the wrong dataset.reportData.ReadXml(Server.MapPath("Items.xml")); The error with that line reads Error 1 The name 'Server' does not exist in the current...
View ArticleRe: Insert XML to SQL tables
Problem solved ? The error suggest "your connection string is not proper". correct it second error is quite visisble,check this line. reportData.ReadXml(Server.MapPath("Items.xml"));
View ArticleRe: Insert XML to SQL tables
Thank you for the reply Kumar,I went with the http://www.akamarketing.com/blog/135-importing-xml-into-sql-server-table-aspnet.html help. After playing around with my code and such, Im stuck on this...
View ArticleRe: Insert XML to SQL tables
I think using excel file is not require. one can directly pull data from xml file to db. refer...
View ArticleInsert XML to SQL tables
Good day all,I have a large XML file (355MB), 40,000+ records I would like to be able to import/insert certain values from the XML nodes into a SQL Database. Normally I would just open Microsoft Excel...
View Article