日期:2014-05-18 浏览次数:20459 次
private void fnSetValue(object value) { DataTable dt = value as DataTable; if (dt != null) { } else { } }
------解决方案--------------------
List<string> l = new List<string>();
object o = l;
List<object> lo = new List<object>();
IEnumerable le = o as IEnumerable;
foreach (object item in le)
{
lo.Add(item);
}
------解决方案--------------------
up
up