Until now we are discussing how to display single record in view, now I'm going to display collection of records in view with strongly type ViewModel. In this article I'm going to discuss about View with Collection of records.
- Home
- SharePoint
- ASP.net
- State Management
- ViewState
- Cookies
- Caching
- Authentication, Authorization
- 3Tier Architecture
- DataControls
- What is GridView
- Gridview Edit, Update, Delete
- GridView Bulk Edit, Update,Insert
- Nested Gridview
- Load on demand for Gridview using Jquery
- Custom Paging for Gridview using SQL Server
- Repeater Control
- ListView Control
- DataList Control
- Excel to SQL
- MVC
- AJAX
- SQL Servers
- Reports
- Scripting Languages
- Windows
Showing posts with label MVC. Show all posts
Showing posts with label MVC. Show all posts
Thursday, 19 November 2015
View with Collection in ASP.net MVC
Until now we are discussing how to display single record in view, now I'm going to display collection of records in view with strongly type ViewModel. In this article I'm going to discuss about View with Collection of records.
ViewModel in ASP.net MVC
In this article I'm
going to explain how to create ViewModel and how to pass ViewModel from Controller
to View as a Strongly type view. In my previous posts I explained about
ViewData and ViewBag in MVC which is not strongly typed because of it's object.
But using ViewModel we can make it as strong type.
ViewBag in ASP.net MVC
In my Previous post I explained about ViewData to
maintain state over MVC Controller, apart from ViewData we have several options
to maintain state in ASP.net MVC one of that is ViewBag.
ViewData in ASP.net MVC
We all know that we can't use
ViewState in MVC because of Bandwidth Consumption problem. We have several alternatives
to maintain state in ASP.net MVC, one of that is ViewData. ViewData is a dictionary; it will pass data between Controller and Views. Controller will add data to the dictionary and view reads
from it. So, in this article I'm going to explain how to maintain state over
the controls using ViewData with simple example.
How to create View in ASP.net MVC
In this article I'm going to explain how to
create a View and how to return the ActionResult View from Controller with
small example. This article will help those who are beginners to ASP.net MVC.
Sample MVC5 Application
In this article I'm going to explain how to
create a simple Program in ASP.net MVC using Controller. This article will help
those who are beginners to ASP.net MVC.
Forms Authentication in ASP.net MVC
In my previous article I explain, what the
disadvantages of Webforms are and what the advantages of using ASP.net MVC etc.
In this article I'm moving further like security level. We all off us know that
we have Authentication and Authorization concepts in ASP.net to verify the
security level settings. In this article I'm going to explain
FormAuthentication in ASP.net MVC.
Wednesday, 18 November 2015
ASP.net MVC for Beginners Guide
In this article I'm going to explain what is MVC?
Already Webforms fulfill my requirement why we go for MVC? What are all the
disadvantages of using ASP.net Web Application and what are all the advantages
of using ASP.net MVC. What type of Architecture we followed in MVC Patterns etc.
Subscribe to:
Posts (Atom)