Conflict between DropDownList and Gridview
Posted on 2006-07-04
Hi I am still fairly new to Web Development so please be easy with me if this is simplistic question :-)
I am using Visual Web Developer/VS2005 and VB.NET and on one particular web page I have both a Dropdownlist and a Gridview.
The gridview is bound to a SQL Table and when it is on it's own (i.e. without the dropdownlist on the same page the gridview works fine.
If I then put the dropdownlist on the same page, and bind it to another table in the database the gridview still works fine.
If (and this is how I want it) I manually add items to the dropdownlist and don't bind it to a table) then the gridview will not even display on the page.
I am at a loss as to why this should be, as the gridview and dropdownlist are not linked, and neither are the tables in the database.
Any help to get me going again would be very much appreciated.