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);
        }