LinkLabel Control is a kind of Label Control but it serves the view of a hyper-link. With this LinkLabel Control, you can mark portion the Label text or the full Label text with an underline. NumericUpDown Control is a mix of the text box and a pair of arrows pointing in opposite directions. Clicking the arrows of the NumericUpDown or holding down the mouse pointer on the arrow will increments or decrements the linked value. Most the application settings page uses this control. In the example, we will set up a windows Form and study these controls.
We know that C# supports foreach loop to iterate through a collection. When we use For-Each we no need to worry about bounds check. Here, we will create Books collection maintained by Book Store and provide Custom For-each support for the collection class. This will help the client code to use for-each loop on our collection class.
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 […]
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 […]
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.
In this example, we will create Products and Organization class. We will also implement two interfaces on the Products class. Then using Java reflection we will get class modifiers and interfaces implemented by the Products Class.
1. Introduction to Grouping & Sorting In this article, we will explore group and sort the result of an SQL query. The Order By informs SQL engine to arrange the query output in ascending or descending order. To put it differently, the Order By will sort the output query result […]
RDBMS Database supports the relationship between tables. One can do this by linking the columns. This article shows how to modal the relationships One-to-One, One-to-Many and Many-To-Many with examples. The relationship One-to-Many can also be seen as Many-to-One.