dimanche 16 novembre 2014

Create Class dynamically at runtime


Vote count:

0




i have method like this: (this is a generic method, and DYNAMIC_CLASS_TYPE will be changed in situation to other situation)



Dim res = f.MyMethod(Of DYNAMIC_CLASS_TYPE)("select Id, Name from myTable")


I want to create a dynamic class based on my queries columns and then pass the class instead of DYNAMIC_CLASS_TYPE. How can I do this?



asked 37 secs ago







Create Class dynamically at runtime

Aucun commentaire:

Enregistrer un commentaire