SqlDataAdapter dap = new SqlDataAdapter(@" select lat, lon ,ICAOCode,country,Stationname from AVI_ICAOCodeList where country ='India'", scn); DataSet ds = new DataSet(); dap.Fill(ds, "AVI_ICAOCodeList"); for (int i = 0; i < ds.Tables["AVI_ICAOCodeList"].Rows.Count; i++) { if (i == 2) { Timer1.Enabled = true; break; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)