Link to home
Start Free TrialLog in
Avatar of sneeri_c
sneeri_c

asked on

Class Help

I have a class with the following:
     clsOrgs.Church
     clsOrgs Board

I have a string variable (strOrgType) that is passed to a form which tells it Church or Board.  In the form, I need to initialize a variable assigning to the proper class based on that string variable that is passed.  

How do I accomplish this statement:

clsOrgs.strOrgType OrgType = new clsOrgs.strOrgType()

Thanks


Avatar of surajguptha
surajguptha
Flag of United States of America image

Just curious what are you trying to do?
ASKER CERTIFIED SOLUTION
Avatar of surajguptha
surajguptha
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial