I’m working on a new project that will let users create new party event through a simple form and I need that data stored as a new table for each new event. What I wanted to know is if its possible for user to create new table in my Database by submitting the form? I know that you can write data to columns, but I have no idea if you can actually write an actual table with columns.
I’m working with MVC 4 and this is sort of new to me and I’m not sure if such thing is possible so wanted to check to make sure before I move to alternate path.
Thanks
Of course that it is possible. If you couldn’t insert records in a database after suibmitting a form in ASP.NET MVC, then this framework would be useless garbage.
You may take a look at plain
ADO.NETor an ORM such asEntity Frameworkwhich both allow you to query a relational database. By the way you might consider reading some of the getting started tutorials on the http://asp.net/mvc site. Here’sone exampleyou might go through.