TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mark Tabor
581
2k
464.9k
How to Store Data into a table of SQL in MVC without model
Dec 18 2016 5:32 AM
How can i store data from a form created in mvc razor view without a model class and entity framework , I have wrote a simple method but as in razor view i have
@Html.TextBox("txtPrice", null, new { @class = "form-control valid", @data_val = "true", @data_val_required = "Property Price is required" })
How to get this textbox value in my c# code either i have to use Query String or what else is the technique i am good with web forms and i web forms we have runat="Server" attribute to access the text box but in razor i do not know how to achieve this.
Reply
Answers (
14
)
What is bin ? and use of in the MVC structure ?
sammy.js in ASP.NET MVC with SSRS Reports Integration