Hi,
I have a webform with several usercontrols and a few buttons.
The OnClick event of the button should be able to pull values from one of the usercontrols, and use those values to create a SELECT statement query that returns the results from a database and populates a dropdownlistbox.
Is this possible? I've been trying to reference the controls within the usercontrol in my aspx.cs file, but everything I try generates an error message.
I have a webform with several usercontrols and a few buttons.
The OnClick event of the button should be able to pull values from one of the usercontrols, and use those values to create a SELECT statement query that returns the results from a database and populates a dropdownlistbox.
Is this possible? I've been trying to reference the controls within the usercontrol in my aspx.cs file, but everything I try generates an error message.