How to show multiple columns using objectlist in mobile web applications

Discussion in 'ASP .Net Mobile' started by arnie, Aug 23, 2007.

  1. arnie

    arnie Guest

    Hi
    I want to show multiple columns table using objectlist with columns
    other than first column will also have links to say other pages. How
    it can be done in asp .net 2.0 mobile web application
    Any code sample/ link will be very helpful
    Thanks
    Arnie
     
    arnie, Aug 23, 2007
    #1
    1. Advertisements

  2. arnie

    Zoran Donev Guest

    Hi Arnie,

    before you Bind your data you have to specify a string-list with the
    column names.

    e. g.

    Dim dblayer As DataAccessLayer.DAL =
    DataAccessLayer.DataProvider.GetDataAccess
    oListLoc.DataSource =
    dblayer.FindLocations(slistItems.Selection.ToString)
    oListLoc.TableFields = "Rank;location;QtyOnHand;Whse"
    oListLoc.DataBind()



    *** Sent via Developersdex http://www.developersdex.com ***
     
    Zoran Donev, Aug 27, 2007
    #2
    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. JJ
    Replies:
    0
    Views:
    462
  2. =?Utf-8?B?QWxleCBNYWdoZW4=?=

    DataBinding & the ObjectList Control (Mobile)

    =?Utf-8?B?QWxleCBNYWdoZW4=?=, Sep 4, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    836
    =?Utf-8?B?QWxleCBNYWdoZW4=?=
    Sep 5, 2007
  3. chen selina
    Replies:
    0
    Views:
    1,608
    chen selina
    Jul 13, 2010
  4. Rob Raad
    Replies:
    1
    Views:
    562
    diamondwxp
    Oct 10, 2003
  5. Mathasu

    Edit fields in a mobile:ObjectList

    Mathasu, Aug 5, 2004, in forum: ASP .Net Mobile
    Replies:
    0
    Views:
    368
    Mathasu
    Aug 5, 2004
  6. Mathasu

    mobile:objectlist

    Mathasu, Aug 19, 2004, in forum: ASP .Net Mobile
    Replies:
    0
    Views:
    249
    Mathasu
    Aug 19, 2004
  7. Mathasu

    Mobile:ObjectList and Custom Pagination

    Mathasu, Sep 17, 2004, in forum: ASP .Net Mobile
    Replies:
    0
    Views:
    322
    Mathasu
    Sep 17, 2004
  8. Replies:
    1
    Views:
    797
Loading...