예제 #1
0
        public DataTable SelectTopFactory(string top, string conn, string tableName)
        {
            string        query = "";
            StringBuilder sb    = new StringBuilder();

            sb.Append("SELECT TOP ");
            sb.Append(top);
            sb.Append(" * FROM ");
            sb.Append(tableName);
            query = sb.ToString();
            MSSql m = new MSSql(conn, tableName);

            return(m.GetSelect(query));
        }
예제 #2
0
        public System.Data.DataTable SelectFactory(string conn, string tableName)
        {
            MSSql m = new MSSql(conn, tableName);

            return(m.GetSelect());
        }
예제 #3
0
        public System.Data.DataTable SchemeFactory(string coon)
        {
            MSSql m = new MSSql(coon);

            return(m.GetScheme());
        }