I'm working on a project which requires the implementation of a dropdownlist connected to a database, a listbox and a gridview. When the user makes a selection from the dropdownlist, I need a list of items to be shown in the listbox according to which option the user selects. Once the user chooses the item from the listbox and presses "go", I need a list records to be shown in a gridview. The information is all stored in a database. I'm able to populate the dropdownlist, but I'm currently stuck on next two parts.
Here is the code I have...
public partial class BulkExtractM : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
protected void PopulateDDL()
CHHExtractBL_Impl blHHExtract = new CHHExtractBL_Impl();
DataSet ds = null;
ds = blHHExtract.GetContractArea("<Root><ContractorID>1</ContractorID></Root>");
DropDownContractorArea.DataSource = ds.Tables;
DropDownContractorArea.DataTextField = "CITYMAP_Description";
DropDownContractorArea.DataValueField = "CITYMAP_ID";