Category Archives: C#

Access WindowsAzure Storage Account via Asp.net C#

rx online 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 […]

1,276 total views, no views today

Import Multiple Sheet to single DataSet C#

rx online 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,694 total views, no views today

1,694 total views, no views today

Select All checkbox in page via Javascript

rx online 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.  991 total views, […]

991 total views, no views today

Export to Excel, PDF, Word without third party dll

rx online 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 […]

423,686 total views, 2 views today

How to get the MAC address of system using Asp.net/C#

rx online 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 […]

6,523 total views, no views today

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

rx online 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”. […]

985 total views, no views today

HOW TO CATCH ERROR FROM GLOBAL ASAX FILE

rx online 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 […]

4,663 total views, no views today

Paging in Data List C# Asp.Net

rx online 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 […]

3,706 total views, no views today

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

rx online 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,401 total views, no […]

8,401 total views, no views today

Partial Class Simple example in Asp.Net and C#

rx online 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 […]

1,150 total views, no views today