Can someone help me see what's going on there that would cause everything in
each listbox to be duplicated?

thanks,
Mike



Sub Page_Load( ByVal sender As System.Object, _
   ByVal e as System.EventArgs) Handles MyBase.Load
 If not IsPostBack Then
  dim books(,) as string = { _
  {"Programming C#","08478748"}, _
  {"Programming ASP.NET","123434533"}, _
  {"WebClasses From Scratch","22233323"}, _
  {"This is dotNet","44445555"}, _
  {"The Last Book", "88898988"} _
  }
  dim i as integer
  for i = 0 to books.GetLength(0) - 1
   lbSingle.Items.Add(new ListItem(books(i,0),books(i,1)))
   lbMulti.Items.Add(new ListItem(books(i,0),books(i,1)))
  next
 End If
End Sub


---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/


Reply via email to