Populating GridView from a dropdown list.
Posted on 2006-07-21
I have a GridView where I configured the SmartTag connection and SQL statement to use the value specified in the dropdown list control. The query test worked correctly. I added a data bind for the grid when the value in the dropdown changes, but this does not work and my grid does not appear. Any thoughts on what might be wrong?
Protected Sub ddlSite_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlSite.SelectedIndexChanged
I am looking for some guidance or sample code that will help me complete this. Any information will
be greatly appreciated. Thanks. DC900
Windows XP Pro
Visual Studio 2005 & VB.NET
SQL Server 2000