I've been looking around and for the life of me I can't find an example that shows how to do this. They either have examples where they just load data from external file or enter data manually into the table. I have a simple form with two boxes and submit button that uploads data when user clicks submit to a SQL table that I created. I know this sounds simple but I can't find a way to do it. I'm completely new to MVC4, I've read ton of material and done most of tutorials and I understand the concept behind it. I just can't figure out syntax for doing this.
If anyone can walk me through this I would be EXTREMELY grateful. I'm using MVC4 to develop this.
Basically this is what I need done:
- Text box for Event Name (created)
- Text box for Event Data (created)
Submit Button (created)
SQL Table with same properties (created using ADO Entity Data Model)
- Import statement (????)