Posted on: 10/13/2015 1:47:39 PM | Views : 1149

I've been working on this and haven't quite gotten it to work yet so I thought that I would run it by the forum to see what I was missing. Before I did I did a search to see if someone else had been dealing with this issue and the closest I got did get me to the point that I inserted a value into my list and seemed to get it to the top eventually after a refresh but not all of the code worked right.  I'm using VS 2015
Here is what I put in my method:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load DropDownList1.Items.Insert(0, "Select!") DropDownList1.SelectedIndex = 0
This is what I had to remove from the example that I had found here in the forums that simply would not be accepted by VS 2015: DropDownList1.Items[0].Value = "-1"
That line sat between the two other drop down lists lines above but VS2015 objected to that pi ...

Go to the complete details ...