Category Archives: Asp, Asp.net

How To Use ADRotator In ASP.NET

How To Use ADRotator In ASP.NET In this tutorial i will explain how to use ADRotator in ASP.NET.AdRotator control randomly selects image files from a list, which is specified in an external XML File.AdRotator control in ASP.NET is extremely used when it comes to randomly displaying advertisements on your site.AdRotator needs a Advertisement file to

DataList Paging in ASP.NET

DataList Paging in ASP.NET In this tutorial i will explain you how to do paging on ASP.NET DATALIST component.Here i am using SQL Server as Backend.By Default Paging is not a part of DataList.You have to Implement your own function for it.When we want to add a paging feature to a DataList or Repeater control,

How To Bind Data To Textbox and Label In ASP.NET

How To Bind Data To Textbox and Label In ASP.NET In this post i will explain you How To Bind Data To Textbox and Label In ASP.NET.Here i am using SQL Server as backend from where i am fetching data and then binding that data into Textbox and Label. Design View:- <%@ Page Language="C#" AutoEventWireup="true"

How To Export Gridview To Excel in Asp.Net

How To Export Gridview To Excel in Asp.Net In this tutorial i am explaining How To Export Gridview To Excel In Asp.Net  using C#. In this tutorial i am not exporting Gridview with Paging in Excel.Here i have used XML File a Data Source for Gridview. How to Export Gridview To Excel In Asp.Net using c# helps us

How to Redirect to Another Page by Click on LinkButton in GridView

How to Redirect to Another Page by Click on LinkButton in GridView In this tutorial i will let you know that how can you pass value from GridView Row data value to another page.Here i used Linkbutton for this inside GridView, When you get redirected to the new page you can get the id in the query

Gridview Edit Delete Update

Gridview Edit Delete Update In this tutorial i will let you know about the Edit, Delete, Update functionality in Gridview using C#.In this we are using Gridview Events like Gridview_updating, Gridview_Deleteing, Gridview_CancelingEdit. For this we start from creating a connection.How to create a connection in asp.net you can find that on following post here. Design View:- <%@

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)) {