Groups | Blog | Home
all groups > asp.net mobile > august 2007 >

asp.net mobile : How to show multiple columns using objectlist in mobile web applications


arnie
8/23/2007 7:17:19 AM
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
Zoran Donev
8/27/2007 9:10:35 AM

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()



AddThis Social Bookmark Button