public static void DeleteDll(int jobid) { var job = TbJob.Find("ID", jobid); if (job == null) { return; } var path = Path.GetFullPath(JobPath) + "\\" + job.NodeID + "\\" + jobid; FileEx.DelectDir(path); //File.Delete(path); }