コード例 #1
0
ファイル: SqlCommands.cs プロジェクト: yuvnith/DataGrid
        public DataTable columns(String table)
        {
            QueriesExecute obj = new QueriesExecute();
            String         cmd = " select COLUMN_NAME from ALL_TAB_COLUMNS where TABLE_NAME = '" + table + "'";
            DataTable      dt  = obj.select(cmd);

            return(dt);
        }
コード例 #2
0
ファイル: SqlCommands.cs プロジェクト: yuvnith/DataGrid
        public DataTable selectCmd(String table)
        {
            QueriesExecute obj = new QueriesExecute();
            String         cmd = "Select * from " + table;
            DataTable      dt  = obj.select(cmd);

            return(dt);
        }