string [] str = deptid.Split(',');
int[] wxdepid = new int[str.Count()];
for(int i=0;i<wxdepid.Count();i++)
{
wxdepid[i] = Convert.ToInt32(str[i]);
}
转载于:https://www.cnblogs.com/pp521/p/4828429.html
string [] str = deptid.Split(',');
int[] wxdepid = new int[str.Count()];
for(int i=0;i<wxdepid.Count();i++)
{
wxdepid[i] = Convert.ToInt32(str[i]);
}
转载于:https://www.cnblogs.com/pp521/p/4828429.html