if(ErrorFile.Count !=0) { //ErrorFile=... //error file has 2 entries(For example select query return 2.) File.AppendAllText(ErrorFile, Environment.NewLine + Error); //write log txt }
public static int Control(){ string q= "Select * from tbl.ErrorFile "; return query; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)