• Microsoft Visual Studio .NET

    Microsoft Visual Studio articles, samples, code snippets, applications, books, products.

    How to use DataTable and pass it to list using ViewBag in ASP.NET MVC?

    by  • October 23, 2015 • jQuery and Microsoft .NET, Microsoft .NET Framework, Microsoft ASP.NET MVC, Microsoft Visual Studio .NET • 0 Comments

    Introduction: Datatable is used to create to table in the web browser. This plug-in adds much functionality in tables such as filtering, paging, sorting, changing page length, etc. This article shows how DataTable can be integrated and pass it to list using ViewBag into an ASP.NET MVC.  Model.cs: The Model comes to a simple...

    Read more →

    How to use ViewBag, ViewData and TempData  in ASP.NET MVC?

    by  • October 19, 2015 • Microsoft .NET Framework, Microsoft ASP.NET MVC, Microsoft Visual Studio .NET • 0 Comments

    ViewData, ViewBag and TempData are used to pass data from controller to view. ViewBag and ViewData are almost similar but TempData is different from them. Each of them has its own importance. We use the ViewData, ViewBag, and TempData objects for the purposes of transporting small amounts of data. In this articles you will...

    Read more →

    How to use ActionLink, PartialView, RenderAction and Action in ASP.NET MVC?

    by  • October 16, 2015 • Microsoft .NET Framework, Microsoft ASP.NET MVC, Microsoft Visual Studio .NET • 0 Comments

    There are different ways for rendering a partial view in MVC Razor. Many developers got confused whether to use  RenderAction or Partial or Action helper methods for rendering a partial view. But ActionLink is different from them. This article shows how to use Html.ActionLink, Html.RenderAction, Html.Partial  and Html.Action in ASP.NET MVC. View.cshtml: Before wirtes...

    Read more →

    How to create Windows Presentation Foundation (WPF) Application Project in Visual Studio 2010

    by  • May 24, 2013 • Microsoft Visual Studio .NET, Windows Presentation Foundation (WPF) • 0 Comments

    Start Visual Studio 2010 Go to File > New > Project In C# or Visual Basic, select WPF Application. You can specify Name and of the application and change its location. You will see on your screen something like as in the following picture Drag and drop a Textbox from Toolbox from left side...

    Read more →

    How to use AJAX Popup Calendar as DatePicker in ASP.NET

    by  • May 18, 2013 • Microsoft .NET AJAX, Microsoft ASP.NET, Microsoft Visual Studio .NET • 0 Comments

    Popup calendar allows users to select date and enter in attached text box. So it simply works as datepicker and it is an elegant and easy way to enter date in text boxes. This article will explain how we can achieve this functionality using AJAX Popup Calendar in ASP.NET. In a previous article, I...

    Read more →