Simple Database Application with Crystal Report
- Read more about Simple Database Application with Crystal Report
- 6 comments
- Log in or register to post comments
- 1311 views
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.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.
Getting a value from a ListView is one of the most common questions I found on the Internet.
So, to help you find the value of a SelectedItem in your Listview, let’s take some example.
Supposed you have a Listview with the following column:
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: