what does your
statement look like? I am guessing by the code you are doing VB and not C#
if VB should look something like this
Code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
If Not IsPostBack Then
dropdownlist1.SelectedIndex = 0
end If
end Sub
if C# should look like
Code:
protected void Page_Load(object sender, EventArgs e){
if(!IsPostBack){
dropdownlist1.SelectedIndex = 0;
}
}