コード例 #1
0
        public DataTable ShowAll_sentences()
        {
            cls_DataAccessLayer DAL = new cls_DataAccessLayer();
            DataTable           dt  = new DataTable();

            dt = DAL.SelectData("Show_All_sentences", null);
            return(dt);
        }
コード例 #2
0
        public DataTable RetrieveSign(string cretrion)
        {
            cls_DataAccessLayer DAL = new cls_DataAccessLayer();

            SqlParameter[] param = new SqlParameter[1];

            param[0]       = new SqlParameter("@criterion", SqlDbType.VarChar, 20);
            param[0].Value = cretrion;



            DataTable dt = new DataTable();

            dt = DAL.SelectData("retrieve_Sign", param);

            return(dt);
        }