In this Example, we will read employee information from SQL Server and display that in the ASP.Net Web Page using SqlCommand and SqlDataReader.
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.
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 an URL. This marked down portion is called HotSpot of an Image. In this example, … Continue reading
When we Place Asp.Net Calendar Control in a Web Form, the default look is not good. In this article, we will see how to customize ASP.Net Calendar Control and learn various properties and events.
The GridView Control is useful to display a table of data. SQLDataSource Control acts as a provider of that data. In this example we will use these control to retrieve data from the pubs database and display it in the Asp.Net Web Form.
1. Default Focus and Default Control – Introduction In this short article, we will learn the importance of setting the default control focus. Also, we will explore setting the default button for a form and for a group of controls. Most of the computer programmers or software users know what is control focus. In windows … Continue reading
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.