How To Check Leap Year In Asp.Net

How To Check Leap Year In Asp.Net In this post i am going to explain that how to check that current year is Leap or not in Asp.Net.It is very simple and having just a few lines of code. Method 1:- protected void Page_Load(object sender, EventArgs e) { Int32 Year = DateTime.Now.Year; if (DateTime.IsLeapYear(Year)) {

SQL Server IDENTITY Reset

SQL Server IDENTITY Reset In this tutorial i will let you know about SQL Server IDENTITY Reset.In SQL server table that have IDENTITY property are auto incremented according to IDENTITY incremental value set by us.You have noticed that whenever you deleted all records from your table, next insert start IDENTITY column not from 0 or 1.To

How to Display Images in GridView Control In Asp.Net

How to Display Images in GridView Control In Asp.Net In this tutorial i will let you know, that How to Display Images in GridView Control In Asp.Net.In this first part is to store the image in application specific folder and store the full path in database and then retrieve the image and display that into a

Upload Multiple Files in Asp.Net

Upload Multiple Files in Asp.Net In this tutorial i will let you know that how can you upload multiple files in asp.net at once, Here i am using FileUpload control for this no other functionality is required. Design View:- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html

How To Refresh Asp.Net Gridview Automatically

How To Refresh Asp.Net Gridview Automatically In this tutorial i will let you know how to auto refresh or update GridView using AJAX Timer and UpdatePanel in asp.net, How To Refresh Asp.Net Gridview Automatically. In this it is described that how a GridView is update after a specific time set in timer control. In this Example