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
Mahesh Reddy
NA
363
17.1k
Save upload file to server after clicking of save
Jan 9 2019 11:59 PM
Hi,
I have one form with fields OrderName and upload a file
I need save both fields to database
everything is working fine
probelm is that only fllename is saved to database
i need to save location of filename
could please any body help me
Note:In below i need to write upload a file to server
[HttpPost]
public ActionResult SaveOrder(Order orders)
{
string result = "Error! Order Is Not Complete!";
{
Order order = new Order();
order.OrderName = orders.OrderName;
order.Resume = orders.Resume;
}
}
Reply
Answers (
3
)
Managing Spaces in String for Clean Output
SSO using openid/oauth