ObjectDataSource & GridView Control Explained

Asp.Net and ObjectDataSource via Business Layer

In this Example, we will see the usage of the ObjectDataSource Control. We will create a web page with a GridView Control and link that control to the ObjectDataSource control. The user will perform data handling through the GridView control. The GridView intern uses the ObjectDataSource to delete or change a record.

Dynamically Changing ASP.Net Web Config File

The Dynamic ASP.Net Web Config Update Example

The Web.config file supplies the Website settings required for the ASP.Net web sites. These settings are like connection strings, how many users allowed, etc. Sometimes the situation arises where we need to add or remove the configuration settings without re-starting the server. This is to avoid website’s down-time. In this article, we will see a demo of how to change web config file when the site is running. Imagine that web admin of the site will access the page which we will create in this example. The goal is to add an extra web setting dynamically, and in the meantime, the server must function as usual with no re-start.

Web Config File and Tracing in ASP.Net

Broken Link On Home Page

Web configuration (Web Config) files are important for all the ASP.net hosted websites. Every application requires settings that tells the application how it should behave. Also, it will be handy to use as all the settings go in one place and if somebody wants to change some settings, they know this one stop place. What if we don’t use these Web Config files? We should do it through the code. Now we will think of a situation of 100 settings for a website. If it is done in the code, anyone requires configuration change out of these 100, first need to search and pinpoint the piece of code that requires the changes. Then they should compile the binaries of the website and re-launch it. This requires a website maintenance window & during that time the website will be down. The ‘Web Config’ files avoid rebuilding the websites assemblies and keeps...

ASP AdRotator Control & Advertisements

Ad Banner and Advertisement Info in XML File

ASP’s AdRotator Control is useful for showing the Ads. This control acts as a placeholder for the image and the image is actually a link to the advertised website. AdRotator control regularly changes the image display and when the user clicks the image, they navigate to the target website. To use AdRotator, we must first create the images to the external websites. Then an XML file tells the AdRotator Control which site to navigate when a user clicks the image.

ASP.Net ImageMap Control and Defining Image Hotspots

Hotspot values for Oklahoma State. Note, how two rectangle together defines the region

1. Introduction to ImageMap and HotSpots An ImageMap Control is an ASP.Net Web Control to mark specific portions of the Image. When a user clicks that specific portion, the ImageMap Control can either do a post back or navigate to…

Viewstate of Server in ASP.Net PostBack

ViewState is Turned OFF, 3 Post-Back And its Result

Page Level Viewstate is useful for the server to recall the data exchange between the Browser Posts. In this example, we will create a simple form to collect user data and perform multiple data posts to the server. With this Form Field Data, we will study behavior of the server by turning the ViewState ON and OFF.