G
Guest
Hi,
I'd like to know if it is possible to create a form type from a string. My
case: I have a DataTable with forms names (i.e frm_001_UserInfo.cs), and I'd
like to create an instance of that form from my code dynamically, retrieving
the form name from the database.
Something like str = "frm_001_UserInfo.cs" and then create an instance of
the form using str.
For what I've read about System.Reflection, there might be a way to do this,
but I dont know how.
Any help would be greatly appreciated.
Thanks in advance.
I'd like to know if it is possible to create a form type from a string. My
case: I have a DataTable with forms names (i.e frm_001_UserInfo.cs), and I'd
like to create an instance of that form from my code dynamically, retrieving
the form name from the database.
Something like str = "frm_001_UserInfo.cs" and then create an instance of
the form using str.
For what I've read about System.Reflection, there might be a way to do this,
but I dont know how.
Any help would be greatly appreciated.
Thanks in advance.