Hey guys, tell me what you make of this code. What its doing is checkign to see if my page is accessed for the first time, or if its a postback. If it is accessed for the first time, fill a drop down listbox. Otherwise, just leave it as is. Problem is: even if it jumps the function call, it STILL re-loads the listbox, but it just ADDS duplicate contents to the end! Any thoughts?
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
FillListBox()
End If
End Sub
Thanks,
Jack
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
FillListBox()
End If
End Sub
Thanks,
Jack