I\'m trying to do this:
Type type = Type.GetType(string.Format(\"Gestor.Data.Entities.{0}, Gestor.Data\", e.Item.Value)); MetaDataUtil.GetColumnasGrid
You need to use reflection for this.
var method = typeof(MetaDataUtil) .GetMethod("GetColumnasGrid") .MakeGenericMethod(new [] { type }) .Invoke(null, null);