P
planetthoughtful
Hi All,
I have a relatively simple web user control I've included in a page
that simply presents 3 drop down lists and a submit button, that I use
as a date picker (ie one list for day, one for month, one for year).
I have the control registered on the page and it displays fine, but I
haven't managed to work out how to get the value(s) back from the
control on clicking the submit button (performs a postback). I want to
use the date value in the select statement of an SqlCommand.
Can anyone give me advice on how I get the value selected in the user
control back into the main page so I can use it from that point?
Any help appreciated!
Much warmth,
planetthoughtful
I have a relatively simple web user control I've included in a page
that simply presents 3 drop down lists and a submit button, that I use
as a date picker (ie one list for day, one for month, one for year).
I have the control registered on the page and it displays fine, but I
haven't managed to work out how to get the value(s) back from the
control on clicking the submit button (performs a postback). I want to
use the date value in the select statement of an SqlCommand.
Can anyone give me advice on how I get the value selected in the user
control back into the main page so I can use it from that point?
Any help appreciated!
Much warmth,
planetthoughtful