Hello All,
To begin with, I am an intermediate C# Developer (Windows Forms). I am well aware of this site and I am a regular user and when ever I ask a question I usually do show my working or code.
Now, I have have just been introduced to MVC and C#.Net in which I am completely a beginner, matter of fact I am dummy to it. I have played around with it (MVC) and I have got a little bit understanding of how the folders work.
My main question is, I would really like to know how to get data from a users inputs from the browser and save to database by a click of a button, and I also how to display data to user in the browser.
(Quick Scenario)
Making a project in mvc that takes a users first name and last name via textbox and saving the provided data onto a database via button click. Also displaying the data (Users first and last name) onto the browser.
I can do this scenario above in windows form with ease but I can't do it in MVC & I have tried and tried.
So basically is there anyone who can run this step by step please ? i would really appreciate it really really will.
Basically what I would like to know and see is :
1) creating the database table
2) creating the textboxes and giving ID's to which columns of the table they are inserting the data in.
3) running the sql commands via button click.
4) retrieving the tables.
5) if there is anything else you would like me to know please let me know.
As I said I would do this in windows forms with ease!
NOTE: I understand HTML and Javascript (But I need to know how they become handful HTML)
Kind Regards
Abraham