Need generic utility C# method for populating ASP.NET DropDownList
<p>I have a method like the following in a utility class.  I would like to change the parameter dataSource to accept any type of data source, that is, DataSet, DataView, List&lt;T>, DataTable, and ArrayList.</p>

<p>Is this possible? How would I change the method signature (and parameters and types) to allow me the flexibility of passing in any acceptable datasource for binding?</p>

<pre><code>public void FillCombo(DropDownList ddl, DataTable dataSource, string textField, string valueField, bool addSelect) {
    ddl.DataValueField = valueField;
    ddl.DataTextField = textField;
    ddl.DataSource = dataSource;
    ddl.DataBind();
    if (addSelect) 
        AddSelectCombo(ddl, "Select", -1);
}
</code></pre>
