Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# SQL-Server-2008 MVC3
[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 5-Sep-12 1:41am
20119991.2K
Edited 5-Sep-12 20:42pm
v3
Comments
biswarup88 at 5-Sep-12 7:12am
   
What is your question? Please be specific...else don't expect reply from others.
pradiprenushe at 5-Sep-12 7:16am
   
What one time?
Sandeep Mewara at 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.
aspnet_regiis at 5-Sep-12 7:27am
   
I can't hear you. Can you be a bit louder ?
knvsatyanarayana at 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)

  Print Answers RSS
0 BillWoodruff 360
1 Mathew Soji 309
2 DamithSL 225
3 Afzaal Ahmad Zeeshan 202
4 Maciej Los 190
0 OriginalGriff 6,249
1 Sergey Alexandrovich Kryukov 5,853
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 3,865


Advertise | Privacy | Mobile
Web03 | 2.8.1411019.1 | Last Updated 6 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100