{
In our case it was a control that needed to be placed in a GridView column, but this could be used anywhere:
System.Type t = AnyControl.GetType(); // the control or class of your choice
object o = System.Activator.CreateInstance(t);
System.Web.UI.Control newControlOfType = o as System.Web.UI.Control;
}
Thursday, April 27, 2006
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment