Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Just simple data access
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01115496
Message ID:
01115638
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform