C# Corner

Related resources for Asp.net 2.0
  • ASP.Net 2.0: Export GridView to Excel 3/28/2019 6:13:37 AM. This article describes how to Export an ASP.Net 2.0 GridView to Excel.
  • Word to HTML Converter using ASP.Net 2.0 and Microsoft 11.0 object Library1/18/2019 2:37:40 AM. This article uses Microsoft 11.0 object library & process the word document in the backend and convert to HTML document.
  • Understanding WEBPARTS in ASP.NET 2.0: Part I1/17/2019 4:31:34 AM. In this article I am going to discuss about WEB PARTS in ASP.NET 2.0, and the most exciting feature of ASP.NET 2.0.
  • Embed Word in a Web Page with an Easy VB Custom Control in VB.NET11/29/2018 4:20:10 AM. This article describes an approach to displaying word documents within a web page using a simple custom server control.
  • An Easy Way to Embed Word in a Web Page11/29/2018 3:59:37 AM. This article describes how to display word documents within a web page using a simple custom server control. The approach used in this example is based upon conversion of the Word document into an MHT
  • Generic Error Logger using ASP.Net & C#9/19/2018 2:06:42 AM. In this article I just want to put some light on global.asax file & how we can make use of Application_Error. In this article, I am generating log text file which will have all the details of the
  • Database Driven Event Calendar in ASP.Net 2.03/29/2014 12:47:33 PM. The sample in this article acts as an event driven calendar using an Asp:calendar control to display events that are database driven.
  • Page Structure in ASP.Net7/16/2013 3:57:16 PM. Today I am going to discuss ASP.NET page structure.
  • Encrypting and Decrypting Cookies in ASP.NET 2.02/14/2013 5:08:17 PM. This article demonstrate how to encode and decode cookies in ASP.NET 2.0
  • Update and Delete in GridView2/6/2013 10:53:26 PM. In this article we will look at how to update or delete a record in a database table using a GridView control.
  • Convert Currency Values with a Custom Control in VB.NET12/1/2012 3:48:22 AM. This article describes the details for constructing a custom ASP.NET 2.0 composite control used to convert one form of currency into another. The control consumes a public web service in order to calculate the exchange rate and uses the exchange rate returned from the web service to calculate the value of the exchanged currency.
  • Mimic the Appearance of Outlook’s Sidebar with the Multi-view Control in VB.NET12/1/2012 3:39:09 AM. This article describes a simple way to mimic the appearance of Microsoft’s Outlook sidebar within an ASP.NET 2.0 web application.
  • Forecast the Weather with a Custom Control in VB.NET12/1/2012 3:10:19 AM. This article describes the construction of a custom control used to display a three day weather forecast based upon a designated zip code. The control is driven by a public, free web service that returns the seven forecast for any area in the United States by zip code or location. This demonstration only uses the first three days of the seven day forecast and it implements only the zip code based request for forecast data.
  • User management, roles and personalization system in ASP.NET 2.0 using VB.NET12/1/2012 3:01:14 AM. Scott Gu, had a cool CreateUserWizard control sample that I have expanded upon to build-up a sample that demonstrates how to build a fairly common user management, roles and personalization system in ASP.NET 2.0 that does this. I was pleasantly surprised to find it only took about 25 lines of C# code in the entire app.
  • Use of the HtmlTextWriter Class to Render Custom Controls in VB.NET12/1/2012 2:55:22 AM. This article will address the use of the HtmlTextWriter class and the role is plays in the construction of custom server controls. As custom server control development is accomplished without a visual designer, the HtmlTextWriter class provides a mechanism for precisely defining the output of the custom control directly within the code and in absence of the designer.
  • Embed PDFs into a Web Page with a VB Built Custom Control in VB.NET12/1/2012 2:51:27 AM. This article describes a simple approach to embedding and displaying PDF documents in a web page through the use of a simple ASP.NET 2.0 VB built custom server control.
  • Add a daily Dilbert Comic with a Custom Control in VB.NET12/1/2012 2:44:55 AM. This article describes the construction of a custom control used to display a daily Dilbert comic on a site.
  • Custom Image Button Control for ASP.NET 2.0 in VB.NET11/10/2012 4:20:23 AM. This article describes a simple way to mimic the appearance of Microsoft’s Outlook sidebar within an ASP.NET 2.0 web application.
  • An easy approach to Displaying a ASP.NET 2.0 Message Box in VB.NET11/10/2012 3:58:21 AM. This article describes a quick and easy way to display message boxes within an ASP.NET 2.0 project.
  • Directory & Files Lister using DirectoryInfo class in Asp.net 2.0 with VB.NET11/10/2012 2:40:20 AM. In this article we will see how we can display directories as well files in the browser based explorer, i have tryed to list directories and files even one can browse through inner directories on clicking particular folder, this can be enhanced to actual windows explorer.
  • Extending the ASP.NET ImageButton Control in Vb.NET11/10/2012 1:57:38 AM. This article describes an easy approach to extending an existing ASP.NET control; in this example, the standard toolkit’s Image Button control is extended to support roll-over effects. Given the standard control already contains existing support for both server side click events and client click events, the control is well furbished prior to the addition of the roll-over effect.
  • Add Multimedia Content with a Custom Control in VB.NET11/10/2012 1:33:16 AM. This article describes a quick and simple approach to creating a custom web control used to display multimedia files within an ASP.NET page.
  • Lookup Area Codes by Zip Codes with an ASP.NET Custom Control in VB.NET11/10/2012 1:00:14 AM. This article describes the construction of a simple custom control used to lookup an area code and a city/state location based upon a selected zip code; the lookup is performed through the use of an available public web service. The article includes the source code for this custom control and well as a demonstration site used to test the control.
  • Maintain Control State in VB.NET11/10/2012 12:49:31 AM. his article describes a simple approach to maintaining control state in an ASP.NET 2.0 custom web control. Control state is a new construct within ASP.NET 2.0 and it is really nothing more than view state however it is view state with a significant advantage; that advantage is that other developers using your control cannot disable control state as they can view state.
  • Implement a Win Forms Slider Control in VB.NET11/9/2012 11:00:44 AM. This article describes a simple approach to implementing a Windows Forms Trackbar (slider) control in ASP.NET 2.0.
  • Add a daily Dilbert Comic with a Custom Control in VB.NET11/9/2012 6:36:18 AM. This article describes the construction of a custom control used to display a daily Dilbert comic on a site.
  • ASP.Net User Control as Web Parts10/13/2012 4:24:54 AM. In this article I would like to give answers to some of the terms and also given some steps to deploy the web part.
  • Atlas: Floating Server Elements in ASP.Net 2.010/13/2012 4:14:39 AM. In this article, we will see how easily Atlas allows setting up a server element as a floating element, which the end users of the web page can drag to any location in the web page.
  • Arabization: Localization/Globalization in ASP.Net 2.010/13/2012 4:05:25 AM. In order to reach global market for any successful product, it is necessary that product supports maximum regional languages. To have support different languages, it is required that while developing product, the concept of localization / globalization utilized.
  • User Confirmation before Deleting Items in ASP.Net 2.010/13/2012 3:56:28 AM. This article describes how ASP.Net 2.0 allows setting client-side functions for Button controls through the use of the OnClientClick property and additionally, the event can be handled on server-side depending on the user response.
  • Working with Master Page in ASP.NET 2.0 10/13/2012 3:52:41 AM. This article gives you a step by step method of working with master page in ASP.NET 2.0.
  • The SqlDataSource Control in ASP.NET 2.010/13/2012 3:38:33 AM. This article features the SqlDataSource control in ASP.NET application.
  • Building WebParts in ASP .Net 2.010/13/2012 2:02:07 AM. Web Parts is a framework built into ASP.NET 2.0 for building highly customizable portal-style pages. End users can customize Web Parts pages by changing the page layout, adding and removing Web Parts, editing Web Parts properties, establishing connections between Web Parts, and more. I would like to share how to build web parts in ASP .Net 2.0. I am providing the source code of application as well.
  • Flash Player Custom Control for ASP.NET 2.010/3/2012 11:32:53 AM. This article describes a quick and simple approach to creating a custom web control used to display shockwave flash files within an ASP.NET page. Whilst the article and demonstration project are focused upon displaying a shockwave flash (SWF) file, the basic idea is applicable to any sort of object that you may wish to embed within an ASP.NET 2.0 page.
  • C# and VB code mixed together in ASP.NET 2.010/3/2012 10:01:34 AM. C# and VB.NET code classes can be mixed together in a ASP.NET 2.0. Such mixing of classes in different languages is not allowed with default settings. This article explains how to achieve this.
  • Email Sending in ASP.net 2.09/30/2012 2:31:08 AM. This article will focus on following concept Simplest way of sending email Writing HTML Email Creating Email with attachment.
  • Sample Windows Forms Application in ASP.NET2.0.9/29/2012 6:51:05 AM. This is a step-by-step user guide that explains how to create a simple Windows Forms Application that uses the Coherence for .NET library.
  • Migrating from ASP.NET 1.0/SQL Server 2000 to ASP.NET 2.0/SQL Server 20055/20/2012 4:52:53 AM. The article provides details of various steps followed by author in upgrading ASP.Net 1.1 application to ASP.Net 2.0 and SQL Server 2000 to SQL Server 2005
  • Web Server Calendar Control in ASP.NET 2.05/20/2012 2:02:28 AM. Most of the time we come across a situation when we need to extend the existing functionality of any control. So, in the following article we will see that how to extend the calendar control.
  • Steps to Create Mobile Application in ASP.NET 2.05/19/2012 4:53:32 AM. In this article you will learn how to create mobile application in ASP.NET 2.0.
  • How We Can Use Custom Roles And Membership in ASP.NET7/13/2011 3:24:34 PM. In this article I would like to show a sample demonstration regarding how we can use a custom roles and membership.
  • XML based Search Engine in ASP.NET 2.04/18/2011 3:27:47 PM. This article basically deals with the idea that, in the manner that we search in google.com, the same thing can be done for an xml file.
  • DetailsView in Asp.net4/15/2011 3:25:15 PM. The DetailsView control in ASP.Net 2.0 is used to create an HTML table that displays the contents of a single database record.
  • AJAX AutoCompleteExtender10/25/2010 3:22:57 PM. In one of the Ajax project while using <ajaxToolkit: AutoCompleteExtender> I was getting following error: Error Creating control - autoComplete1. This control cannot be displayed because it's tag prefix is not registered in the web form.
  • Collapsible GridView in ASP.Net 2.09/27/2010 12:23:56 PM. This article explains how to create a collapsible and expandable gridview in asp.net 2.0 using javascript.
  • Working with Data in ASP.NET 2.0: Master Pages and Site Navigation2/25/2010 1:44:51 AM. ASP.NET 2.0 introduces two new features that greatly simplify implementing both a site wide page layout and navigation scheme: master pages and site navigation. Master pages allow for developers to create a site wide template with designated editable regions.
  • Uploading file with Progress Bar11/4/2009 12:12:32 AM. In this article I am going to show how to upload a file with progress bar in asp.net .
  • Send Multiple Email at the same time in ASP.NET with Attached File .9/10/2009 1:31:52 AM. Send Multiple Email with Attached File at the same time and SMTP using ASP.NET and C#.
  • Select, Add, Update, and Delete Data in a ASP.NET GridView Control7/8/2009 1:01:49 AM. This articles describes you how to view, add, update, and delete data using an ASP.NET 2.0 GridView Control in SQL Server database and C#.
  • Impersonation with ASP.NET 2.07/2/2009 12:43:17 AM. This article explain the impersonation in ASP.NET 2.0.
  • Maintain Control State in ASP.NET 2.07/1/2009 4:49:29 AM. This article describes a simple approach to maintaining control state in an ASP.NET 2.0 custom web control.
  • Embed PDFs into a Web Page with a Custom Control6/27/2009 1:09:50 AM. This article describes an approach to embedding and displaying PDF documents in a web page through the use of a simple ASP.NET 2.0 custom server control.
  • Storing and Retrieving Connection Strings in ASP.NET 2.0/3.5 6/24/2009 3:05:26 AM. This article demonstrates how to store database connection strings in Web.config in ASP.NET 2.0/3.5 and retrieve it for creating connection objects.
  • Membership Service6/23/2009 1:11:42 AM. With every new version are added a bunch of new functionality which eases the development of web applications and keeps up to the required security measures to make the applications less susceptible to external threat.
  • .txt file in multi line textbox in ASP.NET 2.06/20/2009 6:06:22 AM. How will you display .txt file’s text in multi line textbox through ASP.NET 2.0?
  • Portal Development in ASP.NET 2.06/17/2009 2:36:26 AM. The new security controls make authentication a breeze and web parts provides the user the means to customize content. Personalization and Membership features give developers a ready made framework for personalizing the site to suit individual user needs.
  • How to create and use Master Pages in ASP.NET 2.06/10/2009 1:23:31 AM. This small tip shows you how to create and use simple master pages in ASP.NET 2.0.
  • Extending the ASP.NET ImageButton Control6/8/2009 6:53:54 AM. This article describes an easy approach to extending an existing ASP.NET control; in this example, the standard toolkit’s Image Button control is extended to support roll-over effects. Given the standard control already contains existing support for both server side click events and client click events, the control is well furbished prior to the addition of the roll-over effect.
  • ASP.NET 2.0 Visio Custom Control5/26/2009 6:50:12 AM. This article describes a quick and simple approach to creating a custom web control used to display Microsoft Visio files within an ASP.NET page using Internet Explorer.
  • Webservice return the Image of the Customer in ASP.NET 2.05/15/2009 3:12:01 AM. Webservice return the Image of the Customer in ASP.NET 2.0
  • Calender Control in an ASP.NET 2.0 GridView Control5/10/2009 11:35:20 AM. The code attached in this article shows how to integrate a Calender control in the GridView control using ASP.NET 2.0.
  • Stock Tracker Custom Control in C# .NET5/4/2009 2:46:46 AM. This article describes the construction of a custom control used to check stock prices as made available through a public web service.
  • Popup control in ASP.NET 2.01/6/2009 1:49:15 AM. In this article I am going to describe Popup control in ASP.NET 2.0.
  • Sending email in ASP.NET 2.01/5/2009 3:35:06 AM. This article will help you to learn sending email in ASP.NET 2.0. It is also describes how ASP.NET 2.0 is different from its previous version for sending email.
  • Caching in ASP.NET 2.09/25/2008 11:14:32 AM. This article discusses basics of caching in ASP.NET 2.0 and 3.5 and how to use it in our application to improve the application performance.
  • OleHelper for Microsoft Access (.MDB) in ASP.NET 2.09/18/2008 12:50:27 PM. This article is very much similar to the Microsoft Data Access Application Block, provides static methods in a "sealed class OleHelper" where I have Execute Dataset, ExecuteNonQuery & PrepareCommand to work with Microsoft Access database.
  • GridView Examples for ASP.NET 2.09/17/2008 9:54:51 AM. In this article, I am going to show how you can display and edit data in an ASP.NET 2.0 GridView control without writing a single line of code.
  • Accessing Data using Object Data Source in ASP.Net 2.0 and C# 8/9/2008 8:28:21 AM. This tutorial demonstrates how to bind data against Objects using Visual Studio 2005.
  • Object DataSource in ASP.NET 2.08/8/2008 5:57:25 PM. ObjectDataSource control is one of these new data control added to ADO.NET 2.0. This control is used to bind objects to data-bound controls. In this step by step tutorial, I will discuss how to use ObjectDataSource control in your data-driven Web applications.
  • Creating a Windows Service in C#6/16/2008 1:34:21 AM. This article shows how to create a simple Windows Service using C# and Visual Studio 2005.
  • Selecting Checkboxes inside the GridView Control2/27/2008 7:27:14 AM. This article explains about how to select checkboxes inside the GridView control using javascript.
  • MyQuiz: Quiz engine project in ASP.NET using C#10/10/2007 5:52:27 AM. MyQuiz is my first ASP.NET application developed for the sole purpose of meeting the requirements of the quiz engine project.
  • JavaScript Calendar Control in ASP.NET 2.010/1/2007 12:29:16 AM. The problem with ASP.NET Calendar control is it refreshes the page every time any event is fired. To avoid this, we have to use JavaScript Calendar control.
  • Sending E-mails with ASP.NET 2.0 using C#9/18/2007 11:11:28 AM. In this article, Anand examines how to send e-mails using ASP.NET 2.0 in both text and HTML formats using C# with the help of an example.
  • Iterator in C# 2.08/21/2007 7:42:47 AM. Iterator is one of the new feature in C# 2.0. I am trying to explain it with Employees and Department classses.
  • Ajax UpdateProgressBar8/13/2007 1:19:13 AM. This article tells us about the UpdateProgress control which allows to show some symbolic presentation while the web page is loaded.
  • Authentication-Authorization / Windows built-in Role enumeration8/7/2007 4:58:00 AM. In this article I will be talking about authentication and authorization. Authentication is the process which uses users cridential to validate against system, where as Authorization is the process the authenticated user has rights to do some specific task.
  • Whose Online in ASP.NET 2.08/6/2007 12:48:54 AM. I had problem in one of the project to show who is onlne & how to track multiple login/prevent from multiple login. I had gone back and forth so many time and finally am here with small snippet of code, I guess eveyone should read this article!
  • Distributed Transaction Coordinator/Control in asp.net (DTC)8/1/2007 1:07:58 AM. 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.
  • Implement Microsoft DirectX Image Transformation Filters in ASP.NET 2.07/24/2007 11:32:27 AM. This article describes an easy approach to creating custom Web controls used to display Microsoft DirectX Image Transformation filter effects in an ASP.NET 2.0 web page.
  • Progress Bar in ASP.NET 2.0 using File uploader user control7/12/2007 4:05:07 PM. Having a progress bar on a Web page is very important when uploading a file. This article shows, how you can achieve this in ASP.NET 2.0.
  • Manage Ads with AdRotator Control in ASP.NET 2.06/14/2007 11:32:15 AM. The AdRotator control available in ASP.NET 2.0 allows you to manage and run ads on a website. The AdRotator control selects and displays an ad randomly each time a page is refreshed.
  • Accessing Themes/SkinId's Programmatically using ASP.Net 2.04/17/2007 12:55:47 AM. This article will give you good idea, as how we can access Theme & Skins & use CSS with respect to each theme, Microsoft has provided great feature in asp.net 2.0, which will reduce developer's stress to maintain GUI and Color-combination again.
  • Bulk Uploader in ASP.NET 2.03/28/2007 12:28:21 AM. The FileUpLoad control enables you to upload file to the server. It displays a text box control and a browse button that allow users to select a file to upload to the server.
  • ASP.Net 2.0 AJAX Extension 1.0 Application3/22/2007 11:19:01 AM. This article will explain you in dept of creating AspNet Ajax-Enabled Application I have explained with the help of product management example, where you can add new product, edit, update & cancel the product related activity.
  • ASP.NET 2.0 BulletedList Control1/30/2007 1:44:50 AM. ASP.NET 2.0 BulletedList control is used to create a list of items formatted with bullets such as circular and rectangle bullets. This tutorial shows how to use BulletedList control in ASP.NET 2.0 and C#.
  • ASP.NET 2.0 MultiView Control1/30/2007 1:42:03 AM. A View control is a container of multiple controls and a MultiView control works as a container of groups of View controls. In this article, I will discuss how to work with View and Multiview controls.
  • ASP.Net 2.0 - Dynamic Fragments in Cached Web Pages1/30/2007 1:35:52 AM. In this article we will explore various techniques for including dynamic fragments within cached web pages. This feature is described as Post Cache Substitution and provides a personalized experience for the end user, while taking advantage of the benefits of Caching.
  • Selective Validation in ASP.Net 2.01/30/2007 1:22:54 AM. In this article, we will explore the Validation Groups feature introduced in ASP.Net 2.0.
  • Implement a Win Forms Slider Control in ASP.NET 2.01/30/2007 12:32:12 AM. This article describes a simple approach to implementing a Windows Forms Trackbar (slider) control in ASP.NET 2.0.
  • Maintain Scroll Position on Postback in ASP.NET 2.012/29/2006 6:19:22 AM. This article shows how to allows pages to automatically maintain the current scroll position across postbacks.
  • Mimic the Appearance of Outlook's Sidebar with the Multi-view Control12/14/2006 2:09:33 AM. This article describes a simple way to mimic the appearance of Microsoft’s Outlook sidebar within an ASP.NET 2.0 web application. The approach is based upon the use of the existing Multi-View control contained in the standard ASP.NET 2.0 toolbox and does not require much time or effort to implement. This article includes a sample web application that presents an example of the approach in use.
  • How to create Themes in ASP.NET 2.0?10/30/2006 4:46:50 AM. This small tip shows you how to create and use simple themes in ASP.NET 2.0.
  • Book Store Application using ASP.NET 2.010/12/2006 2:23:02 AM. This project is done using ASP.NET 2.0 and SQL Server 2005. This application covers all the basic aspects a developer needs.
  • How to Extend User Profile in ASP.Net 2.010/3/2006 2:33:22 AM. This article will give you guidelines to extend user profile in standard table format which created from aspnet_regsql command by creating a detail table which will be linked to the main user table.
  • Asynchronous Callbacks and Ajax based UI Experience in Web Applications9/11/2006 12:09:29 AM. The current article shows a couple of different views of showing progress bars in Web based applications.
  • User Authentication & Role Management in ASP.NET 2.0 using Sql Server 2005: Part II8/21/2006 7:16:41 AM. This article gives you a detailed idea of how to implement the role management in ASP.NET 2.0 using SQL Server 2005.
  • User Authentication & Role Management in ASP.NET 2.0 using Sql Server 2005: Part I8/14/2006 8:25:15 AM. This article gives you a complete description of the user authentication and how to manage roles for different users using asp.net 2.0 and sql server-2005.
  • Introducing ASP.NET 2.07/10/2006 11:25:33 PM. In this article, the author examines the fundamentals of ASP.NET 2.0 with the help of code snippets.
C# Language Specification 5.0
This book provides a complete description of the C# language 5.0.
Download