ASP.NET Web Development Tutorials

ASP.NET Web Development Tutorials and Articles
  Title / Author Replies
Views Reverse Sort Order
Strings are integral to most app dev projects, so it is imperative that they don't impair performance. The .NET StringBuilder class streamlines string values processing. It's hard to find an application that doesn’t deal with text in some way. As a result, developers are faced with a variety of...
0
38,543
Everything you need comes with the .NET Framework. When you say you are trying to connect to SQL Server, you need to know a bit more than how to create a connection, but also how to return data and display it. Firstly, there are actually many ways to do this in .NET - some in code, some through...
1
28,003
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...
3
21,645
This is an example of Server.Transfer and Context Handler. Through this we can get the multiple values of previous form. In this page we are displaying data from previous form. We can use this technique for multiple form registration form. Code (ContextParent.aspx.cs): - private void...
3
19,633
Introduction An error is an event; an exception is the object that the event creates. When the program flow is blocked by an error, then there should be a solution to overcome that which we could call as exception. These exceptions are classified as structured and unstructured exceptions. Error...
0
19,525
Introduction Zipping Files and folder without using 3rd party tools Background Just add reference to the solution for vjslib available with C# .NET The code
9
18,683
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
16
17,393
Uploading of File When we are talking about uploading of file, we mean to say upload file physically and save into a particular location in server. We can also upload file that means save file into database. Let us first examine how we can upload file physically in a particular location in...
3
16,963
This code has been used to encrypt and decrypt query string .No matter what the length of the url is ,this code will encrypt the key and the value the query string into 25 digit using System; using System.Collections.Generic; using System.Text; using System.Collections.Specialized; using...
1
16,702
What Is A Cookie A cookie is a small text file sent to a web user's computer by a website. A cookie can be used to identify that user to the website on their next visit. Common uses include remembering login data, user preferences, and providing favorites lists. How Does A Cookie Work ...
2
15,149
Introduction In this article we will examine how to parse an RSS feed via an ASP.NET Web page using DataGrid. You can read more about RSS Feeds Getting the Remote XML Data Into a DataGrid In order to display the data from the ASPMessageboard.com RSS feed, the first thing we...
5
14,395
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....
11
13,382
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...
3
12,357
/// <summary> /// This method retrieve the string to encrypt from the Presentation Layer /// And return the Encrypted String /// </summary> /// <param name="str"> /// <returns> public string encryptPassword(string strText) { return Encrypt(strText, "&%#@?,:*"); }
0
11,461
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...
14
10,536
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
5
9,698
Introduction A very common and extremely useful functionality in Web Developement is sending emails from a Web Application. Some of the very common purposes of sending emails from a web application are, to send feedback to the webmaster of a site or informing a forum member of new post in a...
2
8,980
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 ...
3
8,669
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...
2
7,335
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...
10
7,105