//获取数据列表
public void getListData(Type type,string statement,string dtName,AjaxOutputter output)
{
Object _object = System.Activator.CreateInstance(type);
IList _listData = Mapper.Instance().QueryForList(statement,_object);
ObjectModelConverter _cvt = new ObjectModelConverter(_listData,dtName,type);
_cvt.IsNeedMeta = true;
output.AddResult(_cvt);
}
System.Activator.CreateInstance(type);
创建指定类型的类的实例;