greenapple.Connectoperations.selectdatable C# (CSharp) Метод

selectdatable() публичный Метод

retrives data from the database and puts it to a table
public selectdatable ( string table, string attributes, string where ) : DataTable
table string table whose data is being retrieved
attributes string attributes of the table which is being retived
where string the where clause eg "where id>1 and name='guy'"
Результат System.Data.DataTable
        public DataTable selectdatable(string table, string attributes, string  where)
        {
            return mycon.Filling("SELECT " + attributes +" FROM " + table+" "+where );
        }