BoulderBum, can you explaim what difference in 3 cases. In page_load, I need load datagrid and dropdownlist:
1) If Not Page.IsPostBack Then
MyBindData()
FillDropDownList(Me.ddlOrderBy, strSQLOrderby, "Name")
End If
2)
MyBindData()
If Not Page.IsPostBack Then
FillDropDownList(Me.ddlOrderBy, strSQLOrderby, "Name")
End If
3) If Not Page.IsPostBack Then
FillDropDownList(Me.ddlOrderBy, strSQLOrderby, "Name")
End If
MyBindData()