Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        | 
                
                    | 
                            
                                | Author | Topic |  
                                    | erics44Starting Member
 
 
                                        12 Posts | 
                                            
                                            |  Posted - 2009-12-02 : 09:19:49 
 |  
                                            | HiI have a class with a method that returns a datasetPublic DataSet getDS(){DataSet ds = new DataSet();//populate the datasetreturn ds;}now if i have that class within a project all works fine but if i put it in a class library and in the project bin file I get an errorfailed to initialize object. use the new keyword(or something like that)any ideas how i can get around this so i can use the call from a dll?Thanks |  |  
                                    | afrikaMaster Smack Fu Yak Hacker
 
 
                                    2706 Posts | 
                                        
                                          |  Posted - 2009-12-02 : 16:47:43 
 |  
                                          | did you build the site ? |  
                                          |  |  |  
                                |  |  |  |