Loading

C#

C-Sharp

Submitted by: 
Save items from textbox to listView in c#. This is a small tutorial it will show you how to save items from textbox to rich text listView. Here I have four buttons. 1. Savebtn 2. Updatbtn 3. Addnewbtn 4. Cancelbtn All these buttons are working correct what you must do just download the file and debug it on your computer. It a simple program. It was of the questions on my assignment. If you have...
Submitted by: 
This is a small project that is going to show you how to save, update, delete, search in MySQL using C#. 1. Create Database name it as (phonebook). 2. Import file called (phonebook.sql) from your downloaded folder. 3. Now you can open your C# project. 4. Open forms folder and go to loginfrm code and edit the following line with your system details. edit server, userid, password, database=...
Submitted by: 
This is a WPF application that can help users track and analyze their performance in tests. It also stores their scores in various tests for future reference. It is written using C# and Sql Server 2008 r2... U can learn : Developing Login Module Developing Admin Module Developing The Student Module Restore Database from .sql script using sql server management studio 2008 For students who needs...
Submitted by: 
Introduction: This tutorial is on how to use OOP (Object Oriented Programming) in C#. What is OOP? OOP is when you are able to run multiple instances of one class or form at one time without them colliding in to one another. I will give you an example; Let's say that we have a 'person' class, with the variables to hold that person's name and age. Without OOP, we could only have one person. But,...
Submitted by: 
Introduction: This tutorial is on how to use the Skype4ComLib Libaries in C# .NET to access our Skype program on our computer. SKYPE4COMLib: To use the Skype libaries you need to first obtain them via .NET Framework installation of 4.0 or later. I am using 4.5 for this tutorial, then you want to create a new Console/Form application in Visual Studio for a C# application. Right click on your...
Submitted by: 
Introduction: This tutorial is on how to secure your application in C# from Buffer Overflow Attacks. What's a Buffer Overflow Attack? (BTA) A buffer overflow attack is when the user purposefully enters too much data in such a way that the program will spill the data across different memory locations which will cause unexpected behaviour such as opening another vulnerability for the attack to...
Submitted by: 
Introduction: This tutorial is on how to use Switch statements in C#. Switch: A switch statement allows a single variable or static piece of data to be checked for mulitple conditions, essentially like a long 'else if' statement but a lot more compact and with slightly more flexability. Case: To use a switch statement there are a few other keywords we need to learn first, one of which is 'case'...
Submitted by: 
Introduction: This tutorial is on how to draw text in .NET (C#/Visual Basic). Labels, Textboxes? I'm sure if you've not looked in to the 'graphics' (etc) objects in the .NET framework, you're thinking, why don't we just use labels or textboxes with their read-only property enabled. Labels and textboxes both have a surrounding area around the text which are both of different colours (however we...
Submitted by: 
Introduction: This tutorial will be on how to use a 'foreach' loop in C# .NET. ForEach: A ForEach loop in C# is used to iterate through a list of elements held within one location. An example of this could be a list of usernames which are allowed to login to the program. This is what example we are going to be using in this tutorial. Theory: I am going to create a C# Console Application which...
Submitted by: 
Introduction: This tutorial is on how to create a HTTPWebRequest in C# using a proxy connection. Why Proxies? Proxies are sometimes required in certain web scraping applications due to the sheer amount of data that needs to scraped. Some sites temporarily - or even permanently - block IP addresses which are requesting/receiving large amounts of data in a short time to avoid the website's full...

Pages