Пример #1
0
        public DataTable getData(string val)
        {
            try
            {
                const string strSQL  = "SP_SELECT_CTPSC";
                string       pNames  = "@content";
                object[]     pValues = { val };

                return(con.GetData(strSQL, pNames, pValues));
            }
            catch
            {
                return(null);
            }
        }