Category Archives: C#

Access WindowsAzure Storage Account via C#

In this article we will learn to access the window azure storage account. You will able to uploads the file to blob, delete the file from blob and get the list of files from blob. Microsoft Azure (formerly Windows Azure before March, 25th 2014) is a cloud computing platform and infrastructure, created by Microsoft, for building, deploying […]

1,201 total views, no views today

Import Multiple Sheet to single DataSet C#

In this article we will learn to import the excel data from multiple sheet into .Net environment (Dataset)  from where you push data to SQL if required. Also, i tried to handle the various file extension like xls, xlsx and xlsm (macros enabled excel file). 1,513 total views, no views today

1,513 total views, no views today

Select All checkbox in page via Javascript

In this article we will learn to select all check box from JavaScript on click of Parent check box like we have in GMail and Yahoo Mail account. To demonstrate this functionality i have used  Northwind database. I have created one simple aspx page and bind the Gridview with table customer.  873 total views, no views […]

873 total views, no views today

Export to Excel, PDF, Word without third party dll

In this tutorial we will learn to export the data to excel without using any third party tools. Yes, we can achieve this with the help of few lines of code. With the help of code provided below we can export DataList, DataGrid, Grid View etc to any format like word, pdf, excel etc. 423,599 total […]

423,599 total views, no views today

How to get the MAC address of system using

What is MAC (Media Access Control) address? Media Access Control address (MAC address) is a unique identifier assigned to most network adapters or network interface cards (NICs) by the manufacturer for identification and used in the Media Access Control protocol sub-layer. If assigned by the manufacturer, a MAC address usually encodes the manufacturer’s registered identification […]

6,454 total views, no views today

How to Change entire website control text in few lines of code

Many time we need to change the some text on site and for that we need to do manually text change in all pages. Suppose you have web application for more than 100 pages and in that you have text say “ABC Inc” in 1000 places and need to change with “XYZ Corp”. It will […]

926 total views, no views today


The Global.asax file, also known as the ASP.NET application file, is an optional file that contains code for responding to application-level events raised by ASP.NET or by HttpModules. The Global.asax file resides in the root directory of an ASP.NET-based application. At run time, Global.asax is parsed and compiled into a dynamically generated .NET Framework class […]

4,608 total views, no views today

Paging in Data List C# Asp.Net

Today, we will learn how we can add the paging feature for the datalist. It should be noted that, like DataGrid, DataList does not support inbuilt paging mechanism. To implement the simple pagination in DataList we will use the viewstate to store the current page number. The essence of this article is how we make […]

3,575 total views, no views today

How to refresh image on client side in C# Asp.Net

Hi Friends, There was a requirement by client that image will refresh on server in every 3sec name will be same. And need to refresh the same on client browser. I Wrote a JavaScript for same but every attempt was failed because image was stored on client browser in cache. 8,359 total views, no views today

8,359 total views, no views today

Partial Class Simple example in Asp.Net and C#

Partial Keywords make possible to split the definition of a class or a struct, or an interface over two or more source files. Each source file contains a section of the class definition, and all parts are combined when the application is compiled. There are several situations when splitting a class definition is desirable: When […]

1,100 total views, no views today