处理sql语句中的in中的逗号问题
string deptid = \"-1\";
if (dsdept.Tables[0].Rows.Count > 0){
for (int i = 0; i < dsdept.Tables[0].Rows.Count; i++) {
deptid = deptid +\ }}
daoContentSubject.LoginDeptId = deptid;
string sql = (isAdmin()) ? \" \" : \" and c.publishdeptid in (\" + this.LoginDeptId + \") \";