Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Just simple data access
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01115496
Message ID:
01115638
Views:
7
Gary,

>How can I get this TestBusiness object to work in a console application test program.
>
> public class DTest : ABusinessObject
> {
> public DataSet oDS = new DataSet();
> public DTest()
> {
> this.DatabaseKey = "Gary";
> this.TableName = "BillingTables";
>
> }
> public void Test()
> {
> mmDataAccessBase dao = this.GetDataAccessObject();
>
> this.DataSet(oDS, "BillingTablesSel", CommandType.StoredProcedure);
> }
> }
>the first line in the test method crashes.
>
> add key="Gary\Connection" value="server=Dtdev02;uid=Gary;pwd=Trucking;database=Gary;"

The information you're looking for is in the MM .NET Dev Guide topic "Creating a Windows Service".

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform