Part 15 Updatemodel function in mvc

  Рет қаралды 270,276

kudvenkat

kudvenkat

Күн бұрын

Пікірлер: 32
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 11 жыл бұрын
Thank you very much for taking time to give feedback. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.
@janjansen7957
@janjansen7957 9 жыл бұрын
In this example I would expect changing Model state after mapping action by calling method UpdateModel of the controller. If I am not right, please, correct me. But then checking of validity of the model should be after calling UpdateModel. Is it correct?
@steveearle9678
@steveearle9678 8 жыл бұрын
What are the benefits / disadvantages of both methods you have shown here (passing the model as a parameter vs using UpdateModel)?
@rishikalal2300
@rishikalal2300 7 жыл бұрын
how the posted values of the form are mapped to the right properties of the Model in both case? How it happens?
@kenmtb
@kenmtb 5 жыл бұрын
The form has a typed header (@model Employee). Your model is the same data type (Employee), so E.F. knows which fields to map to
@bobbysugianto5744
@bobbysugianto5744 7 жыл бұрын
Venkat, does the view must be "Strong Type" to make the model as parameter and automatically binded with the form keys and values??
@sylviawilliams1152
@sylviawilliams1152 4 жыл бұрын
What is the benefit of using UpdateModel function instead of passing parameters? Also, the benefit of using Create_Post and Create_Get?
@dsingh3205
@dsingh3205 11 жыл бұрын
thank you sir for uploading 15th and previous parts of MVC. HAVE A GREAT DAY.
@chrisp2047
@chrisp2047 11 жыл бұрын
I am currently in an internship and these videos are helping a lot! We used web API 2 and now doing MVC 4..kind of confusing though because I cannot find any resources out there..we use this kind of code in the: [HttpPost] public ActionResult Create(ProductModel productModel) { if (ModelState.IsValid) { var product = new Product(productModel.Code, productModel.Name); var httpClient = new HttpClient(); httpClient.PostAsJsonAsync(url + "Products/CreateProduct", product); return RedirectToAction("Index"); } return View(); } Now im kind of confused about how the edit and delete etc are going to work..
@waseemmalik8033
@waseemmalik8033 8 жыл бұрын
It's really very helpful ...thank you Venkat.
@irfansiddiqui2198
@irfansiddiqui2198 4 жыл бұрын
so nice DUDE its so RADICAL DDUUDDE
@AIM1282
@AIM1282 11 жыл бұрын
Really very helpful MVC Tutorials. can you upload video for insert image into database and display it after insert. Thanks
@narendarsingh4672
@narendarsingh4672 6 жыл бұрын
Great Sir,I am grateful to you.
@ctaproductions2272
@ctaproductions2272 6 жыл бұрын
What if i have 25 fields and i want to insert to multiple tables. please reply.
@melodiegauthier
@melodiegauthier 8 жыл бұрын
Wow this was so helpful, thanks a lot!
@prashantmulik3209
@prashantmulik3209 8 жыл бұрын
I watch video from start.in videos getting output but i am getting error & in one video getting error then we cant do next pract.i am so sad .
@Yasoathprabhu
@Yasoathprabhu 4 жыл бұрын
Sir Please tell me how to prevent form submit on page load.
@saygndogu2346
@saygndogu2346 9 жыл бұрын
What causes the semaphore error can you explain it in more detail?
@jasonpacia7603
@jasonpacia7603 7 жыл бұрын
Thank you.. Very informative...
@ahmeticat6154
@ahmeticat6154 8 жыл бұрын
thank you,Venkat
@firdousabrar1498
@firdousabrar1498 11 жыл бұрын
Sir,can u upload a video of entity framework in asp.net mvc4 in detail today...
@MohsinAli-lg3yc
@MohsinAli-lg3yc 9 жыл бұрын
thank you
@abhinavkumar8271
@abhinavkumar8271 7 жыл бұрын
Excellent..
@DummyFace123
@DummyFace123 11 жыл бұрын
I think you were getting the pooling errors cause of that ado snippet, but whatevs~ You teach ADO in other vids :D
@imranbhatti7906
@imranbhatti7906 5 жыл бұрын
thats made me to understand mapping by name
@ravikirang4439
@ravikirang4439 7 жыл бұрын
Thank you..
@ipsitapani8641
@ipsitapani8641 11 жыл бұрын
THANK U SIR.
@taidoan9946
@taidoan9946 9 жыл бұрын
I like you :)
@imranbhatti7906
@imranbhatti7906 5 жыл бұрын
thankyou
@georgigeorgiev4871
@georgigeorgiev4871 9 жыл бұрын
That's hacking, sir
@aqibrehman316
@aqibrehman316 7 жыл бұрын
Your tutorials are becoming more and more difficult. Stick to basics only
@lifet4800
@lifet4800 8 жыл бұрын
thank u
Part 16  Difference between updatemodel and tryupdatemodel
14:51
kudvenkat
Рет қаралды 236 М.
Part 11  Using business objects as model in mvc
16:21
kudvenkat
Рет қаралды 468 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Part 10  Working with multiple tables in mvc
19:46
kudvenkat
Рет қаралды 585 М.
The True Power of "ChainMap" in Python
13:04
Indently
Рет қаралды 20 М.
Part 8  Data access in mvc using entity framework
13:29
kudvenkat
Рет қаралды 948 М.
How to pass Multiple Models in Single View in MVC
23:55
Tek Tuition
Рет қаралды 23 М.
ASP NET Core Model Binding
12:31
kudvenkat
Рет қаралды 150 М.
Part 28   Customizing the autogenerated edit view
15:11
kudvenkat
Рет қаралды 129 М.
Web API CRUD Operations Using Asp Net MVC and Entity Framework
45:55
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН