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 …

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 …

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 …

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. …

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 …

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 …

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 …

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 …

Data Binding Using BulletedList Control

ASP.NET provides several server-side controls that allow data binding. Earlier I have discussed the basics of Data Binding in ASP.NET and demonstrated it using DropDownList Control. In this article, I will explain Data Binding Using BulletedList Control which is one of the List Control available in ASP.NET. Before proceeding with data binding using BulletedList Control, let us first discuss some important …