TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
albert albert
NA
524
0
Load database with button
Sep 3 2013 7:43 AM
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
Reply
Answers (
0
)
xml WITH listbox
i want to bind more than 5000 nodes