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

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

Retrieves only a cell from the database table
public singleval ( string table, string attribute, string where ) : string
table string table whose cell is being retrieved
attribute string attribute being retrieved
where string the where clause and this is mandatory
Результат string
        public string singleval(string table, string attribute, string where)
        {
            return mycon.scalar("SELECT " + attribute + " FROM " + table + " " + where);
        }