Binding data in dropdown list
<p>I am making an application in asp.net using C# which contains drop down list controls displaying the same data  on different web pages.Now I don't want to write same code for fetching same data from database multiple times. Instead of that I had made a separate class which contains the code for fetching data.</p>

<p>The problem is that I am not able to fill data in drop down list by  taking reference of the objects of that class.
I am trying to use ref function. Am I doing something wrong????</p>

<p>Please suggest....I m in trouble.</p>
