Posts

Pie Chart in Silverlight

Image
The Silverlight Toolkit released on November 2008 comes with a data visualization assembly called Microsoft.Windows.Controls.DataVisualization.dll that hosts the functionality related to charts in Silverlight.   This article demonstrates how to draw charts using the Silverlight Toolkit. Note : This article is written by using the Silverlight Toolkit November 2008 that you can download from here: Silverlight Toolkit - Release : Silverlight Toolkit November 2008 . This control may be a part of Silverlight in near future versions. Adding Silverlight Toolkit Reference Before you can use any charting related functionality in a Silverlight application, you must download the Silverlight Toolkit. After that you need to add a reference to an assembly. To add a reference, right click the References folder of your project in Solution Explorer and select Add Reference. This action will open the Add Reference dialog as you can in the following Figure 1. On this dialo...

Create Pie Chart Using jQuery

Image
Introduction This article explains how to create Charts in your application using Google Charts . Google provides a very simple and useful library that can help the developers to create various type of charts in very short time and in an efficient manner. Step 1 First of all you need to add the library of charts, for this just add this single line script in the head section of your code: <head runat= "server" >       <title></title>       <script type= "text/javascript"  src= "https://www.google.com/jsapi" ></script>   </head>     Step 2 After this you need to add a div in the body section of your application. <body>       <form id= "form1"  runat= "server" >           <div id= "charts"  style= "width: 600px;...

Select Insert, Update And Delete With ASP.NET MVC

Introduction In this article we will learn how to perform CRUD operations in an ASP.Net MVC application. I think you are now clear about MVC from previous articles about the MVC framework and you are also familiar with creating MVC applications; if not then please go through the following articles: ASP.NET MVC Basics: Part 1 ASP.NET MVC Basics: Part 2 ASP.NET MVC Basics: Part 3 Routing in MVC Custom Login in ASP.NET MVC Display Graph in ASP.NET MVC In all the above articles I have explained about ASP.Net MVC. Now I think you are clear about ASP.Net MVC and creating simple ASP.Net MVC applications. Whenever we are developing the applications we are related to a database and in the database driven applications we need to perform CRUD operations. On various blogs and sites you will find CRUD operation samples about ASP.Net MVC. But on many the sites I have seen they are all using Entity Framework to perform the CRUD. Since it is the standard, we have to...

CRUD Operation in ASP.Net MVC Framework

Image
Objective: The core purpose of this article is to demonstrate how to perform CRUD operation on a database in ASP.NET MVC Framework. See my other articles on ASP.NET MVC Framework to get an understanding of different components of framework. My articles could be found at Introduction Here Output Caching Here About Controller here Silverlight in MVC Framework here Final output would be something like Data Base Description I have created one database called ContactDetails in SQL Server 2008. ContactDetails database contains one table called Author_Contact_Details Id is a primary key and its ( Is Identity ) property is set to the value Yes. Note: Database script is being attached to download. So either you could run that database script or you could create the database manually by yourself. Creating MVC application Open visual studio and create new Project -> Web -> Asp.Net MVC Application.   Create UNIT Test project as well. We will do ...