Class Help

I have a class with the following:
     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()


Who is Participating?
Just curious what are you trying to do?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.