Tutorials

Uploading POST Data to PHP in C#

Submitted by Yorkiebar on
Introduction: This tutorial is on how to create POST data uploader in C#. POST or GET? If you don't know what the difference is between POST and GET, these are the methods used by PHP to gain information from external sources that parse the data to those PHP pages. GET is URL based such as; index.php?id=2 Id is 2. And POST is behind the scenes for sensitive information such as passwords. Project: So first we want to create a basic C# project through the File > New Project wizard.

Proxy Checker using C#

Submitted by donbermoy on
In this tutorial, we will create a proxy checker program which will test a list of proxies and report if they respond within a faster time. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application in C# for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add three buttons for starting the checker, exporting all the reports and exporting the working reports; add also a ListBox that will contain the reports of each proxy. 3.

ListBox Adding and Removing an Item in C#

Submitted by donbermoy on
ListBox is a control that displays a collection of items. More than one item in a ListBox is visible at a time. You can either populate the ListBox control directly, or bind it to a collection of items. In this tutorial, i will discuss some events in ListBox such as adding and removing an item in a ListBox. So, now let's start this tutorial! 1.

Exception Handling in C#

Submitted by donbermoy on
Sometimes, we encounter different errors along the program whenever we executed it. For example, the file does not exist in the given path, network connections are not connected, or any errors that you have experienced when you're learning how to program. This is what we've called Runtime Errors. One way to prevent it is the Structured exception handling. In this tutorial for C#, we will used the Try-Catch-Finally statement.

Create XML File in VB.NET

Submitted by donbermoy on
Today in VB.NET, I’m going to teach you how to create a program that also creates an XML file using VB.NET. We all know that XML (Extensible Markup Language) is an easy way to create common information formats and share both the format and the data on the World Wide Web or elsewhere. Now, let's start this tutorial! 1.

Bubble Sort in C# Console

Submitted by donbermoy on
Today in C#, I will teach you how to create a program for bubble sorting using C# console. We all know that bubble sort is a sorting algorithm that is repeatedly searching through lists that need to be sorted, comparing each pair of items and swapping them if they are in the wrong order. Now, let's start this tutorial! 1.

Use DateTime Stamp Appropriately in PHP/MySQLi

Submitted by Yorkiebar on
Introduction: This tutorial is on how to use timestamps properly in PHP and MySQLi to sort information from databases in to the correct order. What's a Timestamp? A timestamp is a data type in PHP and MySQL(i) which is used to hold the correct format of a specified date, time, or date and time together. Database: To enable a database table to hold a timestamp we can first create a database, named 'fln', then create a table named 'test', and give it the following column structure... id, int, 5 length, primary key, auto increment date, dateti

Change Case: Uppercase and Lowercase in C#

Submitted by donbermoy on
Today in C#, I will teach you how to create a program that changes case either uppercase or lowercase letters using C#. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio 2010: Go to File, click New Project, and choose Windows Application. 2. Next, add two Buttons named Button1 and labeled it as "Uppercase" and Button2 labeled as "Lowercase".