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
Sam HobbsPosted Jan 2, 2012, 5:22 AM
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.
Vijay YadavPosted Jan 2, 2012, 12:40 AM
srikanthreddyPosted Jan 2, 2012, 12:22 AM
Pravin GhadgePosted Dec 30, 2011, 7:10 AM
srikanthreddyPosted Dec 30, 2011, 6:27 AM
Pravin GhadgePosted Dec 29, 2011, 11:56 PM
insert into tblName select * from openrowset(bulk 'D:\process\urxmlfile.xml',single_clob) as xmlFileName
srikanthreddyPosted Dec 29, 2011, 10:49 PM
Pravin GhadgePosted Dec 29, 2011, 7:49 AM
wat help u need?