HTML Practice Exercise

HTML (Hypertext Markup Language) is the language of the web. Since learning any language is possible by writing the code. Hence, here you are given some basic HTML Practice Exercise for getting familiar with it. Find here some more examples of HTML and JavaScript. HTML Practice Exercise Create a web page which displays a message “This is my first web page […]

ASP.NET Practice Exercise

ASP.NET is a technology for creating dynamic websites. Since, learning any technology starts by writing code, here is an ASP.NET Practice Exercise, that you can use to learn ASP.NET. ASP.NET Practice Exercise Since, the simplest web page requires the use of these two basic controls, write a program for using Label and TextBox controls. Another important control from Visual Studio ToolBox is the Button […]

Learn CSS Through Code Examples

While, we use HTML to create a web page, both JavaScript and CSS (Cascading Style Sheets) make the page attractive and more user-friendly. As can be seen, CSS adds style to HTML elements that make the website look professional. Although you can provide style to each element within the HTML document, still separating style definition from the markup makes the […]

Exploring DataList Control in ASP.NET

To begin with, in this post on Exploring DataList Control in ASP.NET, I will explain the DataList control. In short, it is one of the feature-rich, lightweight data-bound control available in ASP.NET. In general, we use the DataList control to display the multiple rows of data. Although, ASP.NET offers several data-bound controls the DataList control provides a much greater degree of customization and appearance control. The […]

Custom Validator Control in ASP.NET

To begin with, in this article, I will explain Custom Validator Control in ASP.NET using an example. Although ASP.NET provides a number of validation controls, still in many situations none of them may work. Especially, when you want to match the content of a TextBox with a value stored in the database, you need a user-defined function for this purpose. Likewise, if the input value […]

JavaScript Practice Exercise

Since JavaScript is one of the popular languages for coding, learners should practice it by writing some code. These beginner-level level JavaScript Practice Exercise questions help them learn the language. JavaScript Practice Exercise Use JavaScript to display pop up boxes (alert box, an alert box with line breaks, confirm box, prompt box) Use JavaScript to call a function with an argument that […]

Validation Summary Control in ASP.NET

To summarize the validation errors on a web page we use Validation Summary Control in ASP.NET. However, for a basic understanding of server-side validation controls, you can read this article. Important Points Regarding the validation Summary Control In fact, this control doesn’t perform any validation itself but only collects error information from other validation controls and displays it in a specified format. Instead of […]

Validation Controls Examples – RequiredFieldValidator, CompareValidator, and RangeValidator

To begin with, in this post, I will provide certain Validation Controls Examples – RequiredFieldValidator, CompareValidator, and RangeValidator. In my earlier post on validation controls, I have explained the concept and here I will demonstrate them using code examples. Example of Required Field Validator Control The following example shows how to use the Required Field Validator control. Basically, the ControlToValidate property specifies which […]

An Example of Data Binding with RadioButtonList Control

This is my third post on Data Binding in ASP.NET. Earlier I have explained the concept of Data Binding using examples on two of the available List controls in ASP.NET – DropDownList, and BulletedList. In this article, I will give An Example of Data Binding with RadioButtonList Control. Besides, explaining data binding, I will also discuss how to use an in-memory database as […]

Solve Simple Programming Problems

In order to get better at coding, the key is to Solve Simple Programming Problems. Although you can choose your favorite programming language for coding, C and C++ are still the most popular languages among students. The following list provides some basic programming problems that you can try to practice in any language. Simple Programming Problems The following problem consists […]