コード例 #1
0
 public DataTable loadRawIngredientData()
 {
     // create a dbConnection and pass the database name
     dbConnection dbConn = new dbConnection("ChocoMambo.accdb");
     // create a data table to store the table tblCustomers
     DataTable dtb = dbConn.GetDataTable("qryRawIngredientsActive");
     return dtb;
 }
コード例 #2
0
 public DataTable loadSupplierPurchaseData()
 {
     // create a dbConnection object and pass the database name
     dbConnection dbConn = new dbConnection("ChocoMambo.accdb");
     // create a DataTable to store the table tblCustomers
     DataTable dtb = dbConn.GetDataTable("qrySupplierPurchaseActive");
     return dtb;
 }
コード例 #3
0
ファイル: frmProductsGrid.cs プロジェクト: jayseus/Project1
        private DataTable loadDataTable()
        {
            // create a dbConnection object and pass the database name
            dbConnection dbConn = new dbConnection("ChocoMambo.accdb");

            // create a DataTable to store the table tblCustomers
            DataTable dtb = dbConn.GetDataTable("Products");

            return dtb;
        }