Databinding to arrays of custom objects returned from a webservice

Discussion in 'ASP .Net Web Services' started by Chris McKenzie, Apr 22, 2004.

  1. I'd like to return an array of custom classes from a webservice (which I have working), but I can't figure out how to databind to this array on the ASP .NET Client side.

    Suppose I have a class Person with the properties LastName, MiddleName, and FirstName. I return an array of 5 Persons to the calling ASP .NET application. Now I want to display each Person's name in a DropDownList control. How could I do this? I've struggled with databinding expressions and capturing the DropDownList.Databind event, but to no avail.

    Thanks,
    Chris
     
    Chris McKenzie, Apr 22, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SW1hciBTcGFhbmphYXJz?=

    Databinding to custom properties of a custom class in ASP.NET 2

    =?Utf-8?B?SW1hciBTcGFhbmphYXJz?=, Apr 20, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    697
    =?Utf-8?B?SW1hciBTcGFhbmphYXJz?=
    Apr 20, 2005
  2. jobs
    Replies:
    0
    Views:
    2,325
  3. Philipp
    Replies:
    21
    Views:
    1,501
    Philipp
    Jan 20, 2009
  4. Earl Teigrob
    Replies:
    1
    Views:
    647
    Shravan
    Mar 1, 2004
  5. Dan Caron
    Replies:
    1
    Views:
    365
  6. Kevin Schneider

    DataTable from an array of objects returned from a webservice

    Kevin Schneider, Jun 17, 2004, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    240
    Kevin Schneider
    Jun 21, 2004
  7. Jed
    Replies:
    1
    Views:
    187
    Bob Barrows [MVP]
    Nov 10, 2004
  8. ThomasW
    Replies:
    11
    Views:
    453
    ThomasW
    Sep 28, 2009
Loading...