I have a web form in asp.net. I load the data on the page using EF4 and a foreach. Now it is time to save that data. What is the best way to do that using a postback?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just grab the data from the form, create the entities and send them to the model. Remember to call SaveChanges then 🙂
Marco