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. Advertising

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. jobs
    Replies:
    0
    Views:
    1,591
  2. Philipp
    Replies:
    21
    Views:
    1,101
    Philipp
    Jan 20, 2009
  3. Earl Teigrob
    Replies:
    1
    Views:
    386
    Shravan
    Mar 1, 2004
  4. Dan Caron
    Replies:
    1
    Views:
    179
  5. 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:
    158
    Kevin Schneider
    Jun 21, 2004
Loading...

Share This Page