[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

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


0
sneeri_c
Asked:
sneeri_c
  • 2
1 Solution
 
surajgupthaCommented:
Just curious what are you trying to do?
0
 
surajgupthaCommented:
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now