combobox

A simple class to populate and reset a listbox and a combbox

Submitted by Garouda on
Last year, in March 2010, I started writing a comprehensive school management application that I called SMART (School Management Application for Registrars and Teachers) This was in VB6 with SQL ADO and Microsoft Jet (Database engine of Access) I challenged myself and I am now migrating to VB.Net and SQL Server.

Display Record in DataGridView Based on ComboBox Selected Value

Submitted by admin on

In this tutorial I will teach you on how to display related record based on the selection value from a ComboBox.

The example displays a student’s subject in a DataGridView after a SelectedIndexChanged event of a ComboBox.

This tutorial assumes that you already know how to add a DataSet in your project.

The following are important steps in order to understand how I made this simple program.

1. Bind a ComboBox

[inline:ComboBox_Data_Binding.jpg=Bind a ComboBox]

2. Add a query in the Course Table under DataSet designer

ComboBox Control with MySQL

Submitted by admin on
This program will use the database from the previous source code called DataGridView Control with MySQL. You can use this program without downloading the previous source code by importing the SQL file to the northwind database. If you like you can use different name for the database. Just make sure to change the connection string to the name you choose. I just modified the source code from our

Multi-column combobox in datagrid

Submitted by admin on
Here's another version of lynxgrid that I have developed. But by this time I have added a multi-column combobox. The primary purpose of this code is to learn how to integrate combobox and other control like datepicker, checkbox, etc. in lynxgrid. You will also learn in different way on how to save using a master/detail form. How to delete record in table which was deleted in lynxgrid control. Note

Combo box in datagrid - lynxgrid

Submitted by admin on
A powerful grid which was abandoned by the original author (Richard Mewett). As what Morgan Haueisen said "this grid is too good to let die". Now I want to support this grid as most of my application is using this for my master/detail and or parent/child form. This grid can support also any control which in my case I added a multi-column combobox. The primary purpose of this code is to learn how