greenapple.Connectoperations.singleval C# (CSharp) Method

singleval() public method

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
return string
        public string singleval(string table, string attribute, string where)
        {
            return mycon.scalar("SELECT " + attribute + " FROM " + table + " " + where);
        }