Esempio n. 1
0
        public DataTable GetSqlStringCommand(string connection, string sql)
        {
            CD_Helper objDL = new CD_Helper(connection);
            DataTable dt    = null;

            dt = objDL.GetDataSetSqlStringCommand(sql).Tables[0];
            return(dt);
        }
Esempio n. 2
0
        public DataSet GetDataSetSqlStringCommand(string sql)
        {
            CD_Helper objDL = new CD_Helper(AppSettings.GetConnectionString);
            DataSet   dt    = null;

            dt = objDL.GetDataSetSqlStringCommand(sql);
            return(dt);
        }