for (int i = 0; i < dtUserAndAgentRelation.Rows.Count; i++ ) { strAgentID += string.Format("‘{0}‘,", Convert.ToString(dtUserAndAgentRelation.Rows[i]["AgentID"])); } strAgentID = strAgentID.Trim(‘,‘);
时间: 2024-10-07 22:50:46
for (int i = 0; i < dtUserAndAgentRelation.Rows.Count; i++ ) { strAgentID += string.Format("‘{0}‘,", Convert.ToString(dtUserAndAgentRelation.Rows[i]["AgentID"])); } strAgentID = strAgentID.Trim(‘,‘);