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;
}
}
Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 9, 2019, 10:00 PM EST
Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 9, 2019, 7:31 PM EST
Mahesh ReddyRank #4,018 · 371 reputationPosted Jan 9, 2019, 7:39 PM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts