D
Derek Martin
I am new to ASP.NET but fairly good at VB.Net. I have an ASP.Net web
project going (VB.Net as the codebehind). I have created a page that I
dropped a DropDownList and a button on. I populated the dropdown list in
the Mybase.Load with some strings. When I click the button, I need to get
the .SelectedIndex property from the drop down list and give that number to
another method that does some stuff (gets a value out of an ArrayList based
on the selected index of the drop down in case you are interested).
My problem is that no matter what I select, when I push that button, I get
index(0) every time! Can someone show me the light?
Thanks,
Derek
project going (VB.Net as the codebehind). I have created a page that I
dropped a DropDownList and a button on. I populated the dropdown list in
the Mybase.Load with some strings. When I click the button, I need to get
the .SelectedIndex property from the drop down list and give that number to
another method that does some stuff (gets a value out of an ArrayList based
on the selected index of the drop down in case you are interested).
My problem is that no matter what I select, when I push that button, I get
index(0) every time! Can someone show me the light?
Thanks,
Derek