C# Corner

Resources  
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • Understanding How Assert Effects SecurityApr 25, 2001. Assert is a security action that is evaluated at run time. Code Access Permission classes and Permission Sets support a method called Assert. Using the Assert method to control access to resources or actions will allow your code to perform actions that it normally has permission to perform and will allow other callers up stream in the call stack to have access that they would not normally have.
  • Calculator in C#Sep 19, 2001. Attached program performs basic calculator operations.
  • Customizable Generic Form Validation ControlOct 01, 2001. This control performs form validations at the client-side irrespective of the web server.
  • NUnit for people who can't workJan 02, 2002. In this lesson I will show how to numerically solve algebraic and ordinary differential equations, and perform numerical integration with Simpson method.
  • Financial Loan Calculations using C#Feb 17, 2002. This C# Application calculates the monthly payment for a loan, given the loan amount, interest rate and the loan period.
  • Working with Win32 API in .NETNov 21, 2002. Windows exposes lots of functionality in the form of Win32 API. Using these API you can perform direct operation in windows, which increases performance of your application.
  • Synchronized Threading in .NETDec 11, 2002. Threads are a powerful abstraction for allowing parallelized operations: graphical updates can happen while another thread is performing computations, two threads can handle two simultaneous network requests from a single process, and the list goes on. Since threads are pretty simple to understand, conceptually, but, practically, they are a cause for programmatic headaches, I decided to write this program to describe how to make use of threads.
  • ADO.NET, COBOL and Stored ProcedureDec 13, 2002. A stored procedure is basically a series of SQL statements that reside on the database. The procedure could create a new table, retrieve data from one or more tables, update one or more tables or perform many other tasks.
  • Filling out your 1040EZ Tax Form in .NETJan 21, 2003. Since the 1040EZ form is only a single page, I thought it would be fun to create a Window Form application that helped into the form. This program will allow you to fill out most of the fields and perform the calculations on certain fields as well.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • Recording Sheet Music Using C# and .NETFeb 07, 2003. This is a article that allow you to record and replay the music you performed on the piano.
  • J2EE to .NET Migration: Quick TipsMar 26, 2003. Here are some Quick tips to get you started, in case you need to migrate a J2EE based application to a .NET based application.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • Add Column Dynamically to DataGrid to Display CalculationMay 08, 2003. In this article we'll see how to create a DataGrid column which displays the calculation of more than one field in the database table. The calculation could be addition, multiplication or even filtering rows.
  • Syntax Highlighting in Rich TextBox Control - Part 1Jun 12, 2003. This article shows how to perform basic syntax highlighting using the RichTextBox control and C#.
  • Syntax Highlighting in RichTextBox Control - Part 2Jun 12, 2003. This article shows how to perform interactive syntax highlighting within the RichTextBox control.
  • Resizable Calculator using C#Apr 22, 2004. This application is a scientific calculator, which is resizable and performs some basic operations like addition, subtraction, multiplication, division and some trigonometric functions.
  • Text-to-Speech Conversion in C#May 11, 2004. This article provides some elementary information about how to perform text to speech conversion using the speech SDK 5.1.
  • User Registration with PayPalJun 28, 2004. This article summarizes how to perform a user registration process which requires payment and how to integrate that with PayPal. This sort of process would exist on a web form where you want to charge for registration.
  • Notepad.NET - Printing a Multiline Textbox in C# and .NETJul 31, 2005. Notepad.NET is a file text editor that allows you to edit multiple files at the same time. It also has a few nice features not included in notepad, such as print preview and a most recently used file list. This article describes how printing is performed in this utility.
  • Using XML and XSLTJan 18, 2006. XML Stylesheet Transformation(XSLT) is defined as a language for converting XML documents to other document formats. This article shows how to perform the transformation using classes of .NET Framework.
  • C# Anonymous Methods & The Action ObjectApr 04, 2006. Two interesting additions to the 2.0 C# language are the Action<> object, and anonymous methods. The Action<> object lets you specify an action to be performed on an object and the anonymous method lets you specify a method with no body (thus... the anonymity).
  • C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framework for Neural NetworksJun 20, 2006. A Neural Network is an Artificial Intelligence (AI) methodology that attempts to mimic the behavior of the neurons in our brains. In this article, we’ll be building a basic framework for AI Neural Networks in C# and teach our program to perform basic X-OR operations.
  • Role Based Security Using Authorization Manager in Windows Server 2003Jul 10, 2006. Authorization Manager in Windows 2003 is the more flexible, scalable and easier administration tool for role based security. Using Authorization Manager we can define roles and the tasks that roles can perform.
  • Introduction to the GOF Strategy Pattern in C#Aug 08, 2006. For this article, we’ll be building an exciting calculation engine that does remarkable things like adding, subtracting, multiplying and dividing through implementation of the strategy pattern.
  • Cannot perform '>' operation on System.DateTime and System.DoubleFeb 22, 2007. I get error "Cannot perform '>' operation on System.DateTime and System.Double" when applying a filter on DataView.
  • Word automation using C#May 11, 2007. Word Automation through C# is all about programmatically generating the Word Document using C# code. Almost all of the tasks which we perform on word 2003 can be done programmatically using C# or VB.
  • Spell check enabled RichTextBox custom controlMay 16, 2007. This article describes a quick and simple approach to applying a spell check function to the rich text box control and bundling both features into a single custom control. Of course there is nothing novel or particularly interesting about performing spell checking upon a selection of text using the Word.DLL.
  • WEB farm - Load Balancing in Asp.netJul 27, 2007. The concept behind the web farm is that a number of different web sites share pooled resources. They typically share a common front-end dispatcher to perform load control and distribute customer requests. They share the multiple web servers themselves.
  • Distributed Transaction Coordinator/Control in asp.net (DTC)Jul 31, 2007. A transaction is a series of work perform as a single unit of work consistency and reliability of the system, can be achieved by binding a set of related operations together in a transaction. Here I will be discussing how we can run distributed application in a application.
  • Connection PoolingAug 11, 2007. While performing any database activity it is necessary that every single connection need to be closed, but in case your application throws some exception in that case our connection wont’ get closed. And you will get error “Cannot open connection, it is already open” In this article I will be discussing what is connection pooling? Why connection polling & how we can enable connection pooling etc.
  • WPF Database Communication Adding new Record to the DatabaseSep 06, 2007. WPF Database communication Adding new record to the database (XAML-MS-Access), I have a XAML form with FirstName, LastName, Email & Contact fields in it on click of submit button it will first check if the same email address is exists in the table else it will add new record I have made use of OleDbTransaction to perform add functionality.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • Working with Delegates: Part IOct 04, 2007. We all are well aware about functions. In conventional way, we create object and we call object.method(). We know that they perform some given task and returns results based on the parameters we passed to them.
  • Cartesian Products and Permutations of Groups Using C# Generic IteratorsOct 09, 2007. Many problems we run into as developers deal with slicing and dicing groups of objects. In this article I'll cover building a library of utility methods using C# object enumerators to perform group permutations and find Cartesian products of groups.
  • Functional Programming with C#: Lazy CalculationJan 20, 2008. I ran across Mike Gold’s nice algorithm for finding primes using LINQ syntax and thought I’d use his idea as a base from which to demonstrate one of the more subtle features in functional programming: lazy calculation.
  • Data Validation Controls in ASP.NET 2.0Apr 11, 2008. In this article, you will learn about the support that ASP.NET provides to you for performing data validation.
  • Understanding Pattern Matching in F#Apr 30, 2008. F# introduces a code structure called pattern matching which allows you to perform some pretty interesting tasks in the language. This article will get you up to speed with this powerful technique in programming.
  • Introduction to The Resources .resx and Resources Files: Part I May 05, 2008. In some cases an application needs some external resources to perform specified tasks. And I mean by external resources, those none executables data logically deployed with a given application.
  • Using Symmetric Algorithms to Encrypt DataMay 20, 2008. In this article, I will propose a method of how to encrypt data and store it using symmetric algorithms whose are, in fact, four integrated classes within the .Net framework, namely DES,RC2,Rijndael and TripleDES but I will perform the task using the two last ones as they are the mostly used in real time cases.
  • Cascading Deletes in LINQ to SQLJul 03, 2008. This article will discuss alternative methods for performing cascading deletes using LINQ to SQL. Cascading delete refers to the action of removing records associated by a foreign key relationship to a record that is the target of a deletion action.
  • Zip and Unzip files using GZipStream and DeflateStream classesJul 17, 2008. The dot net framework provides us a way to compress and decompress data using the classes under the System.IO.Compression. There are two main classes that perform the job, namely the GZipStream class and the DeflateStream class.
  • Silverlight 2 use ADO.NET Data Services to access dataJul 19, 2008. In this article will show how to perform CRUD (Create, Retrieve, Update, Delete) operations in Silverlight 2 using ADO.NET Data Services.
  • Insert, Update and Delete in Silverlight DataGrid using ADO.NETJul 22, 2008. In this article will show how to perform CRUD (Create, Retrieve, Update, Delete) operations in Silverlight 2 using ADO.NET Data Services.
  • Working with WPF Table using C# - Part IIAug 26, 2008. In the previous article, Working with WPF Table using XAML - Part I, we discovered how to perform this task using XAML. Now, we will see how to do the same using C#.
  • BizTalk OrchestrationsFeb 06, 2009. In this article, I will cover one important component of Microsoft BizTalk Server, the orchestrations. Basically an orchestration is the executable code to run a workflow supporting a business process. Orchestration interacts with outside entities by using the ports. All these things together are a powerful tool to perform process automation.
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • Financial Calculation using .NET: Part IMar 18, 2009. In this part we will understand how we can calculate the future value for a given rate of interest, period and monthly invested amount.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • Financial Calculation using .NET: Part IIMar 23, 2009. In this article we will look how we can use “Microsoft.VisualBasic” namespace to do single line and double line depreciation calculation.
  • jQuery in Microsoft.NET and Oracle ASApr 14, 2009. jQuery is a lightweight JavaScript library CSS3 compliant to efficiently traverse HTML documents, handle events, perform actions and add interaction to the Web pages. In this article, I will explain how to use jQuery with Microsoft ASP.NET and Oracle Application Server (AS).
  • The permissions granted to user are insufficient for performing this operation. (rsAccessDenied)May 12, 2009. You are unable to access the reporting site for our TFS project. You are able to view individual reports from VS, but you cannot get to the reporting site to edit them. Whenever you try to go to it (By right clicking on Reports->Show Report Site in Team Explorer), you get the SQL Server Reporting Services Error.
  • Analizing data to best customers using Crystal ReportsMay 22, 2009. In the sales analysis, there is a principle named the Pareto principle also known as the 80-20 rule. The 80-20 rule states that 80% of the effects come from the 20% of the causes and then the remaining 20% effects come from 80% of the causes. Pareto observed that 80% of the land in Italy was owned by 20% of the population. One example in the IT world is that Microsoft has noted that 20% of the most reported bugs are the causes of the 80% of the errors or crashes of the systems. After Pareto observed this principle, a lot of application appeared. One of the most common applications of the Pareto principle is in the sales analysis. Companies perform analysis in their sales orders in order to discover the best customers, that is, the 80% of the sales come from the 20% of the customers. In this article, I will show how to perform a sales analysis using Crystal Reports. For this example, we will use the AdventureWorks database shipped with SQL Server 2005.
  • CRUD Operation on Associated table in ADO.NET Data Service May 27, 2009. This article will explain , how to perform data base operations on associated table in ADO.NET Data Service
  • HTTP Post from SilverLight application to a REST ServiceMay 31, 2009. This Article will expalin , how to create REST service which work on JSON data format. Then It will explain about how to perform HTTP GET and HTTP POST operation from a SilverLight client on a REST service on JSON Data Format.
  • Openxml - XML Integration with SQL ServerJul 20, 2009. In this article we will know about Openxml and how to perform operation using it.
  • Exposing CRUD Operations as RESful WCF Service and Peforming all HTTP Operation at Client Side.Jul 22, 2009. This article will explain step by step, how to perform CRUD operation on a database using ADO.Net Data Service and then how to expose CRUD operations as REST enabled WCF service to the client. This will also give explanation, how to consume REST service at client side. This article will perform the entire HTTP verb on the service at the client Side.
  • The C# Asynchronous Programming ModelJul 27, 2009. This article will start by examining how to use the Asynchronous Programming Model (APM) to perform an asynchronous compute-bound operation, then describe the three styles of programming with the APM to deal with handling the end of the call in an asynchronous call: wait-until done, polling, and callback. The natural following is then the Thread Pool.
  • Using PLINQ to Improve Learning AlgorithmsNov 30, 2009. PLINQ is a welcome addition to the .NET 4.0 framework, allowing us to operate on collection elements in parallel. This article examines the performance improvements of PLINQ over LINQ when doing heavy calculations on a large collection of genomes in a particular learning algorithm.
  • Multi Select Delete in DataGrid in Silverlight 3Dec 01, 2009. In this article we will see how we can have a CheckBox Column. And with the help of CheckBox we can multiselect rows and perform delete operation.
  • CRUD Operation on XML DB in WPF ApplicationDec 17, 2009. In this article we will see how to perform CRUD operation on an XML database in a WPF application.
  • CRUD Operations on Windows Azure table and Azure StorageJan 03, 2010. This article will give a walkthrough on how to perform a CRUD operation on Azure table.
  • Hide/Un-Hide Columns using Context Menu in DataGrid in WPFFeb 24, 2010. In this article we will see how we can add a ContextMenu for the Header and that will perform our Hide/Un-Hide function in Datagrid.
  • Working With XML in C#Mar 11, 2010. In this article we see how to perform operation in a XML file using C#.
  • Silverlight 4 Linq to Sql and RIA sevice for CRUD operationsApr 26, 2010. Silverloght 4 has lots of new fearures, for details visit Silverlight 4 . Let's start with a small application to perform CRUD operations using Linq to SQL and RIA Services.
  • Using LINQ to SQL ClassMay 07, 2010. In this article, I am going to show you how we can perform various operations using LINQ to SQL.
  • Silverlight 4.0 application with MVVM Basics and Data ManipulationJun 03, 2010. In this article we will see how to create Silverlight application that follows MVVM Web Application Pattern and Performing CRUD operations in Silverlight Data Grid.
  • Step by Step walkthrough on CRUD operation on Azure Table: Part IJul 21, 2010. In this article, I will show you how we can perform CRUD operation on AZURE table.
  • Introduction about Command Design PatternSep 21, 2010. The Command pattern creates distance between the client that requests an operation and the object that can perform it.
  • Static Event in C#Sep 23, 2010. There might be times when you'll want your event to perform same actions for all objects. In this article we will see how to do that.
  • Email Address ValidationOct 21, 2010. This article reviews the rules for a valid email address and provides .Net code to perform the validation.
  • Backup/Restore of SharePoint 2010 site Collection using Power ShellOct 21, 2010. In this article I am showing you how to perform backup/restore operation using Power Shell,
  • How to Create a Site Collection using Power Shell in SharePoint 2010Oct 21, 2010. In this article I am showing you how to perform Import/Export operation of a particular SharePoint site using Power Shell.
  • Export/Import of SharePoint 2010 site using Power ShellOct 21, 2010. In this article I am showing you how to perform Import/Export operation of a particular SharePoint site using Power Shell.
  • Reading and Manipulating an Xml file Using C#.Net (Including Images)Oct 22, 2010. This article shows development of a windows application to read an xml file; perform insert, search, update and delete operations, and navigation of records and display respective images.
  • Inserting & Retrieving records from MS Access 2007 using ODBCOct 22, 2010. This article shows development of a windows application for performing insert, search, update, delete operations & navigation of MS Access 2007 records using ODBC connection.
  • Inserting images into MS Access file using OLEDBNov 02, 2010. In this article I show to insert images into MS Access file and also to perform search, update and delete operations.
  • How to connect to Oracle database using WCF in SilverlightNov 28, 2010. In this article we will be seeing how to connect to the Oracle database using WCF in Silverlight and will perform a search to retrieve the data from the database, display them in the Silverlight data grid using Visual Studio 2010.
  • Read-Only Data in LINQJan 10, 2011. By default, a CRUD operation can be performed on the retrieved data from a LINQ query. We can modify the data fetched by a LINQ query.
  • Working with DateTime in C#Jan 26, 2011. The DateTime structure represents dates and time in C# and .NET. This tutorial is all about dates and time and how to perform various operations on dates and times using DateTime.
  • Performing Button or Link Click Server Side Functionality into a New WindowFeb 15, 2011. A common scenario here is that we have a button (or link) that when clicked we want some server code to fire but at the end of the request we actually want to display the content in a new window.
  • How to calculate total at the Backend using TriggerFeb 28, 2011. How to do Some Backend Calculations Using Triggers for Increased Security
  • Use of Serialization in C#Mar 24, 2011. In this article I will demonstrate the use of serialization and how to perform XML serialization.
  • Layer Model Of DevelopmentMar 29, 2011. A layer is a reusable portion of code that performs a specific function.
  • Image rotation in ASP.NetApr 11, 2011. Learn how to perform image rotation in ASP.Net.
  • LINQ to SharePoint with WCF 4.0Apr 13, 2011. How can we perform CRUD operations on a SharePoint 2010 list from a WCF Service? Assume we need to create a WCF Service and that service will perform a CRUD operation on a SharePoint 2010 list. We are going to see how to do that in this article.
  • Add Controls At Runtime & Also Perform An Event Of That ControlApr 24, 2011. This article explains how you can add a particular control into your form at runtime & also it will perform a particular event of that control.
  • WPF Perform All Database OperationsApr 26, 2011. This article shows how to perform different-different database operations & the effect of modified data into DataGridView at runtime
  • C# Registry OperationsApr 27, 2011. This article describes performing different-different operations on the registry.
  • Spying on Silverlight Applications with SilverlightSpy, a Must-have ToolMay 18, 2011. In this article we are introduced to a tool called SilverlightSpy, a must-have tool for all Silverlight developers that shows how Silverlight XAML gets rendered at run time, how events work on pages, how exactly the application performs on various hardware configurations plus more
  • Lookup Transformation in SSISMay 19, 2011. The Lookup transformation performs lookups by joining data in input columns with columns in a reference dataset.
  • Left and Right Join in SQL Server 2008Jun 01, 2011. In this article I will describe how to perform a left and right outer join between more than one tables in SQL Server 2008.
  • DateTime in C# Jun 21, 2011. In this article we perform various operations on dates and times using DateTime.
  • Learn ADO.Net Entity Framework: Performing Basic CRUD OperationJun 23, 2011. This article is a walkthrough of performing basic CRUD operations using the ADO.Net Entity Framework.
  • Cross Thread Communication in Windows Forms: Part IIIJun 30, 2011. In this last article in the series we will use another approach to perform cross thread communication in Windows Forms.
  • Cross Thread Communication in Windows Forms: Part IJun 30, 2011. Today we will see with the help of an example how to perform cross thread communication/passing data between threads with the help of an example.

About how-perform-calculation-in-jsp

NA

SPONSORED BY

C# Corner Chandigarh DevCon16
Chandigarh DevCon16 is a one-day Developer Conference where programmers, technologists, authors, and members meet, demonstrate, plan, and hang out.
Download Free eBooks