hi friends,
i created one folder in my local drive like D:\\Process. i saved xml files in this folder. using window services i can take newly created xml files from the folder[D:\\Process] for every two seconds and store that file in sqlserver database .......please help me.............
Loading

Pravin GhadgeRank #1,340 · 1.3K reputationPosted Dec 29, 2011, 2:49 AM EST
wat help u need?
srikanthreddy27 reputationPosted Dec 29, 2011, 5:49 PM EST
Pravin GhadgeRank #1,340 · 1.3K reputationPosted Dec 29, 2011, 6:56 PM EST
insert into tblName select * from openrowset(bulk 'D:\process\urxmlfile.xml',single_clob) as xmlFileName
srikanthreddy27 reputationPosted Dec 30, 2011, 1:27 AM EST
Pravin GhadgeRank #1,340 · 1.3K reputationPosted Dec 30, 2011, 2:10 AM EST
srikanthreddy27 reputationPosted Jan 1, 2012, 7:22 PM EST
Vijay YadavRank #1,637 · 943 reputationPosted Jan 1, 2012, 7:40 PM EST
Sam HobbsRank #107 · 20.5K reputationPosted Jan 2, 2012, 12:22 AM EST
If so, then your question is actually many questions. You need to use a timer in a service. You need to be able to read the XML and parse it into the fields. You neeed to write that data to SQL Server. You might be able to make SQL Server get the data from the XML and put it into the table but I don't know how to do that. I think it is better if you do those things separately.
So you need to look in the C# Corner's (this web site's) articles about how to do each one and then ask specific questions when you need help.