title: how to get return value as dropdownlist and how to assign it to other dropdownlist?
body: <p>I have two dropdownlist on my webpage i want to fill both of that dropdownlist with a single code written in a separate class file. i want to pass the table name with field name and want to get that data into my used dropdownlist.</p>
  
  <p>my code is as follows</p>
  
  <pre><code>ddl1 = obj.Method("table_Name");
  </code></pre>
  
  <p>now the following function return the dropdownlist </p>
  
  <pre><code>public dropdownlist Method(string table_NAME)
  {
            // code
  
          return dropdownlist_1;
  }
  </code></pre>
  
  <p>now i want to use this code for filling multiple dropdownlist, by using this i can reduce my code. same code will be use to fill other dropdownlists also.</p>
  
  <p>Please help me as soon as possible.............</p>
  
  <p>Thanks in advance.</p>