Load database with button
                            
                         
                        
                     
                 
                
                    Hi everybody,
I have a list of connectionstrings in a listbox. 
And I want that the selected connectionstring selects automaticaly the database with the table: TripleElement when you press on a button. 
Because in every database there is a table[TripleElement]
I have this for the connectionstrings in the listbox:
[code]
private void btnConnectionStrings_Click(object sender, EventArgs e)
        {
            XmlDocument docHallo = new XmlDocument();
            docHallo.Load(@"C:/Users/IllesIuliu/Documents/Visual Studio 2010/Projects/WindowsFormsApplication18/GetSelectedID/XML/Configurations.xml");
            XmlNodeList nodeList = docHallo.GetElementsByTagName("SupplyXMLConnectionString");
            foreach (XmlNode node in nodeList)
            {
                listBox1.Items.Add(node.InnerText);
            }
        }
[/code]
THX