Visual Basic .NET Tutorial

Simple Database Application with Crystal Report

Submitted by Hasan soherwardi on
This is a simple database application. Using vb.net 2010, ms access 2007, crystal report 2008. The many options in this application such as: Insert, Update, Delete, Search, Navigation, DataGridView filteration, Patient code auto genration, Print Report etc etc... This tutorial for beginners only, like me.. I hope this application is very helpfull for any type of database application development in vb.net... So "Happy Programming"

How to Detect ComboBox Selected Value in DataGridView

Submitted by admin on
Detecting the selected value of ComboBox is done by using the event like SelectedIndexChanged, SelectedValueChanged, and SelectionChangeCommitted. This event is being fired once you select a value in a ComboBox. However, if you have a ComboBox column in DataGridView control, you cannot easily use those events without adding a Handler.

Video Tutorial: How to Create Master/Detail Windows Form

Submitted by admin on

This video tutorial will teach you on how to create a Master/Detail Windows Form using VB.NET. I used the Library System project to create this tutorial. You can access the source code at Library System in Visual Basic .NET 2008 and SQL Server 2008.

Only the Borrowing of books is being discussed in this video. The important is you will learn how to create a Dataset and drag it into you form.

Password Generator

Submitted by admin on
This password generator is based on the class created by Obviex. The generator can create a unique password that does not include ambiguous character. It can create alphanumeric and special character password.

How to Cancel Delete in BindingNavigator

Submitted by admin on
When you add a DataSet to your Windows Form a BindingNavigator is automatically created with navigation to your record and it also includes Delete and Add button. When you click the Delete button there is no confirmation if you want to cancel the operation. The solution to this is to set the DeleteItem to None.

Get the ID of Last Inserted Record in SQL Server

Submitted by admin on

Sometimes you need to know the value of your Primary Key when you insert record in your table. This is true if you have a Master/Detail form and you need to know the Primary key value of the parent table so that you can insert rows in the related table.

Consider the following scenario: