ASP.NET Web Development Tutorials

ASP.NET Web Development Tutorials and Articles
  Title / Author Replies
Background This article continues my previous one, to add watermark in PDF files, now we will go ahead and look how to add password in PDF File. Please check Add WaterMark In PDF Files. The code Imports System Imports System.IO Imports iTextSharp.text
Introduction Exporting data from a data table to Excel or CSV is one of the most common functionality required in ASP.NET Web Application or .NET Window application. Users can download the data from the data grid into an Excel spreadsheet or CSV file for offline verification and/or computation....
Introduction Quite Often, We may wish to inform the user of a successful or an unsuccessful operation in a web form application. An effective way to communicate an important message to the user is through the use a MessageBox or a JavaScript "alert". The MessageBox class in the...
Introduction Usually in Projects we need some images which are in icon format. Generally we get images in .JPG OR .BMP format. This code snippet when compiled and executed on .Net machine will convert the JP OR BMP file in to .ico format. The code Code: .NET using System; using...
Introduction Many times we need to check or validations for numeric/string/Alphanumeric values. Background It provides some methods in C# .Net, which can be resue in your web or windows application. The code
Introduction The functioned mentioned manipulates the already added bar graph(Chart object) using VB.NET(front end). One can change the value of the bar graphs, the properties of the chart at runtime. Some of the properties are accessed in the function. Validation can also been...
Introduction Accessing the Mobile DB (SQL CE/ SQL Mobile) from desktop application. Synchronization of Desktop/Server DB and SQL Mobile Background Following code snippets show how to access SQL CE of a PPC 2003 or Windows Mobile DB from Desktop Application when device is craddled and...
Introduction To privide smooth paging mechanism while delaing with huge quantitys of DATA. Background Below code snippet can be placed in a user control and can be reused as and when we require paging to be performed on a web UI. The code
Introduction Changing values in databse when a property changes is cumbersome to make it easier we can use propertchanged Event as in the solution. Background A script is generated for every property changed when the user wishes to update (Save button clicked) we can run this script. ...
Introduction Have you ever face the problem of merging so many word docs into a single one ?!!! Heres the solution ;) Merge multiple word documents into a single document using .Net code. Background This asset is used to merge multiple word documents into a single document. If you...
Introduction Intersystem Cache's $piece functionality is replicated in C#.NET Background $piece in Cache Objectscript returns a specific piece of a string based on a specified delimiter. It can also return a range of pieces, as well as multiple pieces from a single string, based on...
Introduction There was a need of a timer which could count down from a partcular time. Background Say for example we need to count 01:12:30 then just give the input to the timer as 01:12:30 it will start counting down and even in the negative range too. The code
Introduction Actually when any project is on production and when any error comes than that error is captured in log file. Very easy for programmer as well as client to know about the type of error. Background This is an ASP.NET file which is used to log the errors and warning in a file. ...
ASP .NET has been the Microsoft lovers’ de facto tool for creating advanced web pages. ASP’s ability to adapt to the modern web requirements and the stability has made ASP one of the leaders in web application development. With the release of Visual Studio .NET 3.5 in November 2007, Microsoft...
Problem We encounter a situation where we need to execute the stored procedure passing XML string as parameter. The SP executor is used to execute the stored procedure with dataset as input from the application. It converts the dataset into XML string and passes it to the Store procedure ...
What are the different ways of state management in ASP.NET? There are basically two ways for state management: Client side state management: ViewState, Cookies, Hiddenfield, QueryString Server side state management: Session variable, Application variable Cache can be both server side and...
Master Pages in ASP.NET are files that have .master extensions. ASP.NET master pages allow us to create a consistent layout and look & feel for all the pages or a group of pages in web application. A page which uses a master page is known as the content page. We can then create individual content...
.NET family has been together in all good and bad times for a few years now. This family of programming languages and tools was first introduced to the world by Microsoft many years ago and they were called neither .NET nor they were created as a family. Microsoft, the giant in the modern...
What is an application domain? In classic ASP there is no concept like Application domain .Application domain is a new security boundary concept in Dot Net. Process can be divided into multiple application domains. We know process level isolation that means if one process crash that will...
The complexity of web sites has rapidly gone up from the past couple of years. Started as static web pages a decade ago, web pages today are data driven and data intensive monsters that require a lot of flexibility and processing power. If the same old methods have been used for writing today’s...