The Python List Practice Exercise given below consists of simple programs on python lists. Basically, a list is a data structure in python that contains multiple elements. Moreover, all elements in a python list need not be of the same data type. Further, the values in a list are not unique. In other words, we …
Callback Functions in JavaScript
Basically, Callback Functions in JavaScript provide us a way to pass a function as a parameter to another function. In fact, callback functions are very useful in performing asynchronous operations and registering an event listener. Examples of Callback Functions in JavaScript As an illustration, the following is an example of a simple callback function that …
Arrow Functions in JavaScript
Basically, Arrow Functions in JavaScript provide us a way to simplify coding the user-defined functions. Further, they let us define anonymous functions. Since, arrow functions provide us a way to write shorter syntax, by including arrow functions in script single statement functions can be created fast and prevent unnecessaey coding. However, there are certain differences …
XML Documents and DataSet in ASP.NET
In this post on XML Documents and DataSet in ASP.NET, I will explain how to create an XML Document from a DataSet and vice versa. Also, I will explain how to display XML data in a data-bound control like GridView. An Example Demonstrating XML Documents and DataSet The following example shows how to work with XML …
Code Render Block in ASP.NET
Examples of Using Code Render Block: https://www.programmingempire.com/examples-of-using-code-render-block-in-asp-net/ This article describes Code Render Block in ASP.NET. Basically, a Code Render Block in ASP.NET refers to the inline code that we use in the ASPX page along with server-side and client-side tags. What is Code Render Block? Basically, a code render block is a block containing programming statements within a …
ASP.NET Core Features and Advantages
In this post on ASP.NET Core Features and Advantages, I will discuss the core features of ASP.NET technology that make it a choice for web developers. ASP.NET Core Basically, ASP.NET Core is another version of ASP.NET. Also, it is open-source and available on Windows, Linux, and MacOS platform. The following section describes ASP.NET Core Features and Advantages. ASP.NET Core Features Open-Source Excellent Performance Support for Containerization Several Hosting Options Dependency …
Understanding Blockchain Concepts
In this post on Understanding Blockchain Concepts, I will explain what is blockchain and its application. What is a Blockchain? Basically, a blockchain is a distributed database. Significantly, Decentralization and Scalability are the two most important features of a Blockchain. As the name suggests, a Blockchain is a chain of blocks with each block containing …
JavaScript Code Examples
The following section provides several JavaScript Code Examples. addEventListener() Sometimes we want to attach an event listener to an HTML element dynamically. For this purpose, we can use the addEventListener() method. Even, it is possible to attach an event listener to a paragraph or div element. See Example. appendChild() Basically, this method helps us to append a child …
Edge Detection Using OpenCV
In this post on Edge Detection Using OpenCV, I will explain an important image processing function known as edge detection. Basically, edge detection results in a new image that contains the outlines or edges of the given image. Canny Edge Detection Method Basically, Canny Edge Detection is a step-by-step procedure that requires the image to …
Display Images Using DataList Control
In this post on Display Images Using DataList Control, I will explain how to show images on a web page using a DataList control in ASP.NET. An Example to Display Images Using DataList Control The following example demonstrates the use of a DataList control. Basically, in this example, we use a Database table name Flowers that contains the …