<%@ Page
Inherits="System.Web.UI.MobileControls.MobilePage"
Language="VB"
%>
<%@ Register
TagPrefix="mobile"
Namespace="System.Web.UI.MobileControls"
Assembly="System.Web.Mobile"
%>
<script runat="server" language="VB">
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
Dim MyItem1 as New MobileListItem
Dim MyItem2 as New MobileListItem
Dim MyItem3 as New MobileListItem
MyItem1.Text = "A"
MyItem2.Text = "B"
MyItem3.Text = "C"
List1.Items.Add(MyItem1)
List1.Items.Add(MyItem2)
List1.Items.Add(MyItem3)
End Sub
</script>
<mobile:form
id="StartForm"
runat="server">
<mobile:list
runat="server"
id="List1"
/>
</mobile:form>
|