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
Matt Ryles
NA
3
0
Adding Items to Drop Down List from Dataset
Feb 14 2009 7:01 AM
Hi,
Im trying to get items from my dataset to display as text and values fro my drop down box, the dataset is coming from a Web Service to the application.
The dataset is OK but im struggling to get the information from the dataset to the Drop Down Box, here's what I have:
****************************************
TimsburgWS.ServiceSoapClient nService = new TimsburgWS.ServiceSoapClient();
DataSet nDS = new DataSet();
nService = new TimsburgApplication.TimsburgWS.ServiceSoapClient();
nDS = nService.listNames();
cboCast.DataSource = nDS.Tables;
cboCast.DisplayMember = "PeopleName";
cboCast.ValueMember = "PeopleID";
***********************************************
Any help would be appriciated, thanks.
Matt
Reply
Answers (
4
)
Name validation (this should be an easy one)
To change the font of messagebox in C#