Exemple #1
0
        public static Int32 ReadCodeSet()
        {
            Int32 NumRecords = ProcedureManager.ReadData("CodeSet");

            //DataSet ds = new DataSet();
            //StringBuilder CodeSetQuery = new StringBuilder();
            //Int32 NumRecords = 0;
            //CodeSetQuery.Append("SELECT * FROM  CodeSet");
            //using (SqlConnection connection = new SqlConnection("context connection=true"))
            //{
            //    connection.Open();
            //    SqlCommand command = new SqlCommand(CodeSetQuery.ToString(), connection);
            //    SqlDataAdapter Adapter = new SqlDataAdapter(command);
            //    NumRecords = Adapter.Fill(ds);
            //    ProcessDatSet.SendDataSet(ds);
            //}
            return(NumRecords);
        }
        public static Int32 ReadEmployer()
        {
            Int32 NumRecords = ProcedureManager.ReadData("Employer");

            return(NumRecords);
        }