public object GetCount() { string sql = "SELECT COUNT(*) FROM SetInfo"; return(SQLiteHelper.GetSingleResult(sql)); }
public int SelectIsNo(int bendnum) { string sql = "select count(*) from Patients where PatientBednum=" + bendnum.ToString() + " and UseFlag=0"; return(Convert.ToInt32(SQLiteHelper.GetSingleResult(sql))); }