/// <summary>
        /// Loads the tblCustomer abstract class for the current selected record primary key.
        /// </summary>
        /// <returns>true if the call succeeded; false, otherwise.</returns>
        public bool RefreshCurrentRecord()
        {
            if (this.SelectedIndex == -1)
            {
                if (oAbstract_tblCustomer != null)
                {
                    oAbstract_tblCustomer.Reset();
                }
                return(false);
            }

            System.Data.SqlTypes.SqlInt32 PK_Cus_LngID = Convert.ToInt32(this.SelectedItem.Value);

            if (this.oAbstract_tblCustomer == null)
            {
                switch (this.LastKnownConnectionType)
                {
                case OlymarsDemo.DataClasses.ConnectionType.ConnectionString:
                    this.oAbstract_tblCustomer = new OlymarsDemo.AbstractClasses.Abstract_tblCustomer(this.connectionString);
                    break;

                case OlymarsDemo.DataClasses.ConnectionType.SqlConnection:
                    this.oAbstract_tblCustomer = new OlymarsDemo.AbstractClasses.Abstract_tblCustomer(this.sqlConnection);
                    break;
                }
            }

            return(this.oAbstract_tblCustomer.Refresh(PK_Cus_LngID));
        }
        /// <summary>
        /// Loads the tblCustomer abstract class for the current selected record primary key.
        /// </summary>
        /// <returns>true if the call succeeded; false, otherwise.</returns>
        public bool RefreshCurrentRecord()
        {
            if (this.SelectionMode != System.Windows.Forms.SelectionMode.One)
            {
                throw new InvalidOperationException("SelectionMode property is not set to One. Hence, you cannot call this method.");
            }

            if (this.SelectedIndex == -1)
            {
                if (oAbstract_tblCustomer != null)
                {
                    oAbstract_tblCustomer.Reset();
                }
                return(false);
            }

            System.Data.SqlTypes.SqlInt32 PK_Cus_LngID = (System.Int32) this.SelectedValue;

            if (this.oAbstract_tblCustomer == null)
            {
                switch (this.LastKnownConnectionType)
                {
                case OlymarsDemo.DataClasses.ConnectionType.ConnectionString:
                    this.oAbstract_tblCustomer = new OlymarsDemo.AbstractClasses.Abstract_tblCustomer(this.connectionString);
                    break;

                case OlymarsDemo.DataClasses.ConnectionType.SqlConnection:
                    this.oAbstract_tblCustomer = new OlymarsDemo.AbstractClasses.Abstract_tblCustomer(this.sqlConnection);
                    break;
                }
            }

            return(this.oAbstract_tblCustomer.Refresh(PK_Cus_LngID));
        }