if (dirinfo.exists) //{ // filesinthisfolder = dirinfo.getfiles().count(); //} //if (includesubfolders) //{ // //filesinthisfolder += dirinfo.getdirectories().sum(di => button1_click(di)); // //return filesinthisfolder; //} FileInfo[] filearr = dirinfo.GetFiles(); foreach (FileInfo f1 in filearr) { for (int i = 0; i < 1; i++) { SqlConnection conn = new SqlConnection(); string name = f1.Name; conn = new SqlConnection(ConfigurationManager.ConnectionStrings["sqlCon"].ToString());//Sql database connection written in web.config file conn.Open(); SqlCommand cmd; try { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)