Assuming that the drop-down list always has the same data in it, you could
store a DataTable in Application Cache, and rather then using a custom
control, just bind drop-down lists to it when you need to.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
"Mat" <ma*@u2orange.co.uk> wrote in message
news:a7**************************@posting.google.c om...
Hi,
I have a "DropDownList" that is bound to sql which is used on multiple
(but not all) pages.
I would like to code the logic only once and reuse it throughout the
site. Would it be better to write a user control and then call that
everytime I need the dropdown or is there a better solution?
Many thanks,
Mat.