ASP.NET dropdownlist refresh gridview
Posted on 2007-11-30
Does someone have an example of how a dropdownlist selection can populate the content of a gridview based on the selection?
I have a sqldatasource that populates the dropdownlist when the form loads and I'd like to fire off the SelectCommand for the second data source which is tied to the gridview. I tried putting a SqlDataSource.select() command under the ddl_vendor_list_TextChanged subroutine but its not recognizing the datasource.