.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 4th, 2009, 08:55 AM
donee1986 donee1986 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 1 donee1986 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 26 m 28 sec
Reputation Power: 0
Question Databind data set from webservice to pocket pc dropdownlist

Hi guys. I would like to solve this problem for my project.
I am supposed to use a pocket pc in microsoft visual studio 2005 and develop a program that consume a webservice that return a dataset. The problem is dropdownlist only display one item from the dataset instead of the whole column

I named the webservice as server, this is my code, please help me to correct the problem.

Dim DataServer as new server.Service()
Dim ds as new Data.DataSet()

ds = DataServer.ReadAll() -> this webservice function return a dataset

Thus i use this line to insert the dataColumn into the dropdownlist

DropDownList1.Items.Add(ds.Table(0).Rows(0).Items( "Type"))

However with this line of code, dropdownlist1 will only display the first item from the data. How should i modify the code so it will display the whole item in that column??

Early thanks for the help though, Please reaching deadline and cant solve this problem, all the help appreciated guys

Last edited by donee1986 : January 8th, 2009 at 08:47 AM. Reason: No response urgent needed for help

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > Databind data set from webservice to pocket pc dropdownlist


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT