string vertex = "select vertex_path from Tbl_AllGraphInfo where Graph_Id='" + Graph_Id + "'"; SqlCommand cmd = new SqlCommand(vertex,con11); con11.Open(); SqlDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { fullpath = dr.GetString(0); } dr.Close(); // string actresult = ((string)cmd.ExecuteScalar()); con11.Close(); int counter = 0; string[] array = fullpath.Split(';'); string[] array2 = new string[2]; List<string> list = new List<string>(); for (int i = 0; i < array.Length; i++) { array2= array[i].Split(','); list.Add(array2[1]); } counter = 0; string[] pattern = (string[])list.ToArray();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)