Friday, November 13, 2009

Accessing Web service and delete files

localhost.Service1 nn = new ReadTextFiles.localhost.Service1();

nn.SynchroinzeData(dtFileData);
string temp = nn.HelloWorld();

foreach (DataRow drt in dtFileNames.Rows)
{
File.Delete(drt[0].ToString());
}

No comments: