//
archives

Archive for

Populate DataGridViewCheckBoxColumn at Runtime


This article shows how to populate the CheckBoxColumn of the DataGridView at runtime from the database. This code demonstrate that a datasource has been bind to the datagridview and using the datagridview’s “DataPropertyName” to the checkbox column. It will automatically populate the column with the desired values. Here is the code: Dim dt As DataTable … Continue reading

Populate DataGridViewComboBoxColumn at Runtime


This will demonstrate how you can bind DataGridViewComboBoxColumn to your DataGridView and populate it. The way you can follow, is to create and add a DataGridViewComboBoxColumn in your datagridview and populate every combo Box with the values in an iterative manner. Here I have discussed two approaches: See the code, here Db2DataSet is filled before … Continue reading

Remove first line from multiline Texboxes


Hi! We have dozens of methods to solve this issue but here is one line approach as I provided: http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/40d252ee-6506-4e52-9320-d1b266c5e573/ Regards, Shahan Ayyub