I'm working on re-writing a dll using C# and need some help. I want to have a method that when called would be passed either a WinForms combobox or a WebForms dropdownlist. Once received the method would do all of the database work and populate the combobox, for example. I'm having a hardtime with the declaration of the method. Can anyone help me here? Or is this just totally impossible in the .Net world? Since I'm not sure where to post this, seeing as how it also involes the web... I'll also be posting this same message there.