去掉數組中的重複項
/// <summary>
/// 去掉數組中的重複項
/// </summary>
/// <param name="p_obj_string"></param>
/// <returns></returns>
private ArrayList SingleArray(object[] p_obj_string)
{
ArrayList l_str_arr=new ArrayList();
for (int i = 0; i < p_obj_string.Length; i++)
{
if (l_str_arr.IndexOf(p_obj_string[i]) == -1 && !p_obj_string[i].Equals(""))
{
l_str_arr.Add(p_obj_string[i]);
}
}
return l_str_arr;
}