Bind an ADO.NET DataTable to a TreeView using C#

In this article, we are going to talk about the binding of datatable into a TreeView. For this, we’ll be using ADO.NET to create an instance of the database. Before getting into it, what is a TreeView? In simple terms, it is a graphical way of representing information in a hierarchical manner. It should have... » read more

Find the Biggest of Three Numbers using C

In this tutorial, we will learn how to find out the largest number out of three numbers using simple if-else conditions in C programming Language. Method 1 #include <stdio.h> #include <stdlib.h> int main() { int number1, number2, number3; printf("Enter the first number : "); scanf("%d", & number1); printf("Enter the second number : "); scanf("%d", &... » read more

Create a Login Page Using PHP and MySQL

In this tutorial, we will learn how to create a simple authentication form using PHP and MySQL. This tutorial covers the fundamental concept of sessions and query execution. How to Create a Login Page Using PHP and MySQL I’m sure you have seen those simple login forms with user name and password that let you access... » read more

How to make your WordPress site faster

We are living in an era where everyone is consuming information at the rate no one could imagine a decade ago. Smartphones have changed the way we used to communicate and look for the info. Nowadays, people are busy – reading, searching for information, or talking on their devices. No one has the time to... » read more

How to send an Email with attachment using PHP

These days, almost every application has the ability to send an email. Apparently, the functionality looks difficult but in reality, sending an email using PHP is really easy. The syntax of the mail function is as follows: mail( string $to, string $subject, string $message [,mixed $additional_headers [,$additional_parameters]]): bool String $to will contain the valid email... » read more

Bind chart control in WinForm using VB.NET and LINQ

In this article, we are going to talk about the chart controls in VB.NET and how it can be bound with data using LINQ. As we all know, charts are used to interpret the data in a more understandable way, where everyone can easily grasp the information that we are representing. Bing a chart control... » read more

Upload and Download Files Using PHP

In this article, I’ll explain the basics of file upload and download in PHP. First, I’ll explain the basics of PHP configuration options. Following that, we will go through an example to fully understand the file upload and download process in PHP. File Upload and Download in PHP There are a few PHP configuration settings... » read more

Introduction to Numeric Functions in C#

From this article, we are going to talk about the different types of numeric/mathematical functions provided by C#. System namespace provides an inbuilt library to called Math, which provides a valuable set of methods for numeric calculations. As these methods are static methods, we don’t need to add any reference to it. These methods are... » read more

How to convert SQL query to LINQ

LINQ stands for Language INtegrated Query which allows writing queries directly into the code. Queries can be written to relational databases and XML databases. Hence, it is used heavily in the .NET platform for in-memory data representation. Why LINQ over SQL? When we compared to SQL, LINQ is more productive, simpler and tidier in most... » read more

Export data from MySQL to excel using php

We all deal with data and numbers while designing the web applications but what if your client asks you to extract the data from the database and export it to MS Excel file for later review? In this tutorial, we are going to learn how we can export our data from MySQL database to MS... » read more

Calculate the difference between two dates using C#

In this article, we are going to look at how to calculate the date difference between two dates in C#. Like other OOP languages, C# has two data types to store the results. DateTime Structure TimeSpan Structure DateTime Struct DateTime Structure is a child of System namespace and no any other external libraries needed for... » read more