Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
SQL
[HttpPost]
       public ActionResult Create(other_source_income other_source_income)
       {
           if (ModelState.IsValid)
           {
               db.other_source_income.AddObject(other_source_income);
               db.SaveChanges();
               return RedirectToAction("Index");
           }

           return View(other_source_income);
       }
Posted
Updated 5-Sep-12 19:42pm
v3
Comments
sahabiswarup 5-Sep-12 7:12am    
What is your question? Please be specific...else don't expect reply from others.
pradiprenushe 5-Sep-12 7:16am    
What one time?
Sandeep Mewara 5-Sep-12 7:17am    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.
bbirajdar 5-Sep-12 7:27am    
I can't hear you. Can you be a bit louder ?
Naga KOTA 6-Sep-12 2:30am    
I cant able to understand the question

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900