View Single Post
  #4 (permalink)  
Old May 25th, 2007, 07:28 AM
lisabb lisabb is offline
Authorized User
 
Join Date: May 2007
Location: Fairfax, va, USA.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried this command in the page load Sub in my VB.net code but it didn't work. My code is:

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Me.dlPatrolArea.Items.Insert(0, "")
    End Sub
I tried (1,"") but got a error saying that the value must be a non-negative and not be greater than the index. How can I set the index in Visual Studio 2005? Is it the Z-index?

Thanks
Reply With Quote