Visit Hot Scripts for large collection of Asp.NET tips and tutorials you can download today. Our tips and tutorials are quick and easy to learn so try them today.
Tutorials & Tips
-
How To Change ASP.NET Session Timeout
To preserve web server's resources, session expires after certain time of inactivity (20 minutes by default). If there are no new requests from same visitor, all session data related to that visitor are deleted from server's memory. This could be a... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
How To Show Total In GridView Footer
If you build any kind of report, very often requirement is to display result of some aggregate function bellow of numeric column. For example, that could be an average sales per customer, summary of time spent on project or similar that acts as some kind... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Data Validation With Regular Expressions In ASP.NET
Regular expressions are powerful way to validate data, especially useful for complex data patterns where other methods like classic string manipulation can't help. Programmers often avoid learning of regular expressions because they look difficult on the... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Using Regex Class in ASP.NET
Regex class represents regular expression in .Net RegEx engine, located in System.Text.RegularExpressions namespace. This tutorial explains how to use Regex class in four common regular expressions scenarios: extract data, search-and-replace, split... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Working with System.DateTime – Date and Time String Formatting with C#
Software Development with C# needs to work with dates and times. To work efficiently with Date and Time .NET has the System.DateTime (DateTime) namespace to help us. You can use DateTime to get DateTime values, generate new DateTime values and format... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Conditional Values And Styles In GridView
Raw data from database sometimes are not suitable for showing on web form directly. For example, you could need additional formatting for date values, show some message instead of NULLs, change 0 and 1 to data more intuitive to your visitors, show... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Using PagedDataSource For Paging
GridView, DetailsView or FormView controls are complex controls that have many pre-built features, including data paging or sorting. On opposite, Repeater or DataList offer more control over HTML output and they usually work faster than GridView, but... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
URL Rewriting in ASP.NET
One of most important factors for search engine optimization is to have keywords in URL of the page. Dynamically created pages usually have query strings, thus URL looks encrypted and it is not SEO friendly. This tutorial explains several different... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
How To Search And Show YouTube Videos in ASP.NET
With faster Internet connections, video content became common part of web site. Hosting videos on your own server increases storage and bandwidth costs. As an alternative, you can show videos hosted on video sharing sites. This tutorial explains how... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
How to Create SQL Membership Schema at Run-Time
ASP.NET Forms authentication with SQL Server used to store user's information is very popular way to secure web site. There are numerous tutorials on Internet that explain how to create tables, views and procedures for SQL membership using ASPNET_REGSQL... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Decide Between MVC and Web Forms for Next ASP.NET Project
ASP.NET MVC is new technology that becomes very popular. However, MVC is not replacement for Web Forms. Both will stay with us in longer period and be supported by Microsoft. The next logical question is: Which technology is better? Or at least which is... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Obfuscation And Code Protection In ASP.NET
If you create ASP.NET web application or custom web control that should be distributed to customers worldwide, you need to protect your code from pirates, unlicensed users and competitors. This tutorial explains why and how to use obfuscation and... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Displaying Gravatars Using C#
Gravatar is a popular avatar service that links email addresses to the avatar. You do not need to register an account to be able to display gravatars on your site. All you need to do is construct the URL of the image using the user’s email.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Interaction Between Master Page and Content Page
Master page and content page work together to produce output to client. Sometimes, interaction between master page and content page is needed. This tutorial explains how to access controls, variables, properties, parameters and events from content... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Easy Intro to ASP.NET MVC
ASP.NET MVC is a framework, created by Microsoft, as an alternative (but not replacement) to ASP.NET Web Forms. This tutorial explains what is ASP.NET MVC, why we need it and how to create simple MVC project.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Highlight GridView Row On MouseOver Using Javascript in Asp.net
Asp.net GridView gives us huge facility that we can't imagine few years ago. But still we have a lot of chance to improve look & feel as well as GridView functionality. Here in this article i will describe how you can highlight a gridview row when move... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
Merge GridView Cells Or Columns in Row ASP.NET C#
In most of the cases specially for reporting purpose we need to merge GridView cells or columns for client preferred output. In this example i will show you how one can merge GridView cells or columns in asp.net C#. My special focus is on to merge cells... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
How To Reduce Page Size In ASP.NET
Although users today have faster Internet connection, light web pages and fast load are still better choice for various reasons. This tutorial explains how to reduce page size in ASP.NET to get faster page load, reduce bandwidth and increase ranking... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
How To Resize All Images In Folder
To resize all images in folder we need to perform these tasks: 1. List all images on some location 2. Iterate through a collection of file names and resize every image. This tutorial explains how to resize all images in folder using single... (show more)
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose -
How to Add an Image to Email in ASP.NET
Email is extremely popular way of communication. To make this task easier, Microsoft .Net Framework contains System.Net.Mail namespace. This tutorial explains an options how you can add an image to email in ASP.NET web application.
Thanks for your rating. Consider leaving a review and let others know more about your experience. Add ReviewClose