【发布时间】:2010-02-11 20:39:33
【问题描述】:
我正在尝试这样做:
Type type = Type.GetType(string.Format("Gestor.Data.Entities.{0}, Gestor.Data", e.Item.Value));
MetaDataUtil.GetColumnasGrid<type>();
但它不起作用,你知道我该怎么做吗?
【问题讨论】:
-
这是不可能的。正如user18636所说,你必须使用反射。