Latest posts on tagged on "CSharp"

Different between Partial and RenderPartial in asp.net MVC ?

6 April 2016

In this article, I describe Different between Partial and RenderPartial in asp.net mvc. Both of these helper methods are used to render a partial views. The return type of RenderPartial is Void, where as Partial return MvcHtmlString.

What is Partial Views in asp.net MVC ?

5 April 2016

In this Article, I describe what is partial view in asp.net mvc. Partial views are used to encapsulate reusable view logic and it simplify the complexity of views. We can use one partial view on multilple views , where we need similar kind of view logics.

What is Session and how to use in asp.net MVC ?

4 April 2016

In this Article, I describe what is Session and how to use session in asp.net mvc. Session is helpful to access or pass a data from controller to View or one View to controller that mean we can access a session value anywhere in application until user browser is open.

What is TempData and how to use in asp.net MVC ?

4 April 2016

In this Article, I describe what is TempData and how to use TempData in asp.net mvc. TempData is helpful to access or pass a data from one controller to another or one action to another. Here I demonstrate how to pass a value from one action to another.

What is ViewBag and how to use in asp.net MVC ?

4 April 2016

In this Article, I describe what is ViewBag and how to use ViewBag in asp.net mvc. ViewBag is nothing but Collection of ViewData. It simplifies the syntax of ViewData. ViewBag use dynamic keyword of asp.net.

What is ViewData and how to use in asp.net MVC ?

4 April 2016

In this Article, I describe what is ViewData and how to use ViewData in asp.net mvc. ViewData is nothing but transfer(to pass or access) a data from Controller to View. In asp.net we use ViewState for access a value anywhere in same web form. Here I am using ViewData like viewstate in asp.net.

[Solved] The network path was not found in asp.net MVC?

1 April 2016

In this Article, I have Describe how to resolve network path not found in asp.net mvc. Already I solved this kind of problem when I go through the project I have faced like this. This was solved by changing connection string in web.config file.

How to read your xml file in asp.net?

23 March 2016

In this Article, I explain how to read your xml data’s using dataset. Normally to Dataset contains Readxml property to read the xml file content. Here I am using this Readxml property to read a content from xml file.

How to bind Gridview using xml in asp.net?

23 March 2016

This Article, I explain how to bind your Gridview using xml data’s. Here I am using Web application to achieve this. First you have to create one small web application with c# language.

What is concept of Boxing and Unboxing?

19 March 2016

Boxing permits any value type to be implicitly converted to type object or to any interface type implemented by value type. Boxing is a process in which object instances are created and copy values in to that instance.