Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > XMLDataDocument on a mobile form?

Thread Tools

XMLDataDocument on a mobile form?

prince -=nore=-
Posts: n/a
I need to know how to use XMLDataDocument to load data onto a mobile page.
I think my "List1.DataTextField " and "List1.DataValueField " fields are
incorrect below

My code so far:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

If Not Page.IsPostBack Then

Dim myDataDoc As New XMLDataDocument

myDataDoc.DataSet.ReadXmlSchema(Server.MapPath("sp orts.xsl"))


List1.DataTextField = myDataDoc.DataSet.Tables("title").ToString

List1.DataValueField = myDataDoc.DataSet.Tables("link").ToString


End If

End Sub



Reply With Quote

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iPhone4,iPhone3,Ipad,Apple Mobile,Blackberry Mobile,HTC Mobile,LGMobile,Motorola Mobile,Nokia Mobile,Samsung Mobile chen selina C++ 0 07-13-2010 08:53 AM
XMLDataDocument on a mobile form? prince -=nore=- ASP .Net Mobile 0 10-09-2003 04:00 AM