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
Vasanth Jack
NA
289
35k
How to bind a combobox with XML
Feb 24 2017 8:43 AM
I have an XML file in Win forms.I want to Bind a xml in ComboBox ..I tried some code.But itz not working
DataSet ds = new DataSet();
ds.ReadXml(System.IO.Path.GetFullPath("Employee.xml"));
cbemp.DisplayMember = "EmployeeName";
cbemp.ValueMember = "EmployeeID";
cbemp.DataSource = ds.Tables[0];
Reply
Answers (
4
)
What Is Namespace?
Get SQL Data last to first