Create classes or structure dynamically

Hello Team,

I am trying to create a SQL table dynamically. Here is my requirement:

1. Once I run the program, i will be asked about how many colmuns

I will choose it to suppose e.g. 2

2. I will get the options for data types

e.g. int,flaot,char etc.

The dynamic class or structure should be created at the backend.

I would appreciate if anyone let me know how can I impement it.


Kind regards
Harsh Chawla
Topic archived. No new replies allowed.