Example #1
0
    /// <summary>
    /// Reads intakes and casings table
    /// </summary>
    public void ReadIntakes()
    {
      //Read in Intakes through table adapter
      INTAKETableAdapter ITA = new INTAKETableAdapter();
      ITA.Connection.ConnectionString = ConnectionString;
        ITA.Fill(INTAKE);
        ITA.Dispose();

        CASINGTableAdapter CTA = new CASINGTableAdapter();
        CTA.Connection.ConnectionString = ConnectionString;
        CTA.Fill(CASING);
        CTA.Dispose();
    }
Example #2
0
        /// <summary>
        /// Reads intakes and casings table
        /// </summary>
        public void ReadIntakes()
        {
            //Read in Intakes through table adapter
            INTAKETableAdapter ITA = new INTAKETableAdapter();

            ITA.Connection.ConnectionString = ConnectionString;
            ITA.Fill(INTAKE);
            ITA.Dispose();

            CASINGTableAdapter CTA = new CASINGTableAdapter();

            CTA.Connection.ConnectionString = ConnectionString;
            CTA.Fill(CASING);
            CTA.Dispose();
        }