//총득표수(공통으로 뽑음) private void GetPollSum() { string qryString; dbUtil = new DBLib(); qryString = "SELECT SUM(pPoint) FROM t_PollEX " + " Where poll_id = " + this.poll_id + " GROUP BY poll_id"; this.pollSum = dbUtil.MyExecuteScalar(qryString); }
//총득표수(공통으로 뽑음) private void GetPollSum() { string qryString; dbUtil = new DBLib(); qryString = "SELECT SUM(pPoint) FROM t_PollEX " + " Where poll_id = " + this.poll_id + " GROUP BY poll_id"; this.pollSum = dbUtil.MyExecuteScalar(qryString); }