foreach (DataRow row in dt.Rows) { try { //first i am pinging the IP if it replies then i am proceeding System.Net.NetworkInformation.Ping objping = new System.Net.NetworkInformation.Ping(); if (objping.Send(row["FTP_IP"].ToString()).Status == System.Net.NetworkInformation.IPStatus.Success) { constr = @"Data Source=10.**.**.**/orcl;User ID=*****;Password=****;ConnectionLifetime=60;Connection Timeout=30;Timeout=30;"; store_con = new OracleConnection(constr); // i tried this using thread but its not working //Thread workerThread = new Thread(DoWork); //workerThread.Start(); //Thread.Sleep(5000); //workerThread.Join(); store_con.Open();//here its getting stuck no error nothing
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)