ObjectDataSource typename of a singleton Business object
<p>How do I make ObjectDataSource work with singleton Business object?</p>

<p>My singleton business object is defined in Global:</p>

<pre><code>public class Global : HttpApplication
{
        public static BusinessForm BusinessFormLayer;            

        void Application_Start(object sender, EventArgs e)
        {                        
            FormDalProvider concreteProvider = FormDalProvider.Instance;
            BusinessForumLayer = new BusinessForum(concreteProvider);
        }
}
</code></pre>

<p>My page:</p>

<pre><code>&lt;asp:ObjectDataSource ID="objThreads" runat="server"                       
                      SelectMethod="GetForms"
                      SelectCountMethod="GetFormsCount"
                      TypeName="Global.BusinessFormLayer"
                      EnablePaging="true" 
                      SortParameterName="sortExpression"&gt;
</code></pre>
