C#

C-Sharp

How to Display Selected Row from Datagridview into Textbox using C#

Submitted by joken on
In this tutorial I’m going to show you how to create an application that will display the selected row from the datagridview into textbox. To start with this application we will create first a database in Microsoft access 2003 and we will name it as “studentdb” for Student Database. Then create a table named “tblstudent” and create a field that will look like as shown below. s1 After this, we will create a new windows form project in C#, then save it as “stud_info”.

How to Update and Delete Record in the Database using C#

Submitted by joken on
This lesson is a continuation of our last topic called “How to Save Record in Database using C#”. At this time we will be focusing on how to update and delete a record from the database using C#. To start with, this application. Open our project called “usermanagement”, then we need to add another control such as buttons, textbox and label.

Login Form

Submitted by Dusan on
This is a simple login form. I have created a database with 6 columns (usernameID, username, password, name, surname, email),and then created Entity data model from that database (ADO.NET). It also has a register form where you can insert new users into database and a datagrid view on starting form (login) and on the content form, where you can see what is in the database. I have entered 3 users

Simple Notepad Application using C# - Part 2

Submitted by pavel7_7_7 on
This is the second part of the article about C# Notepad. In the first part of this tutorial we already created a simple Notepad with possibilities to open, save, save as and print file. Also, you can change now the font and it's size from the menu. The next step is to implement the basic operations in the text redactor: copy, paste and cut. This actions can be performed in a very simple way by using functions of the textBox class.

Simple Notepad Application using C# - Part 1

Submitted by pavel7_7_7 on
In this article you fill find information about how to implement the basic functions of the Notepad using c# Visual Studio provides a good interface for creating different Windows Form Applications. One of the most popular application that is created during the studying is Notepad. In this article I will not pay a lot of attention on the process of building GUI, because it's a simple task. I just give you one important tip on this step: Always give proper names to your GUI elements.