Problem using DataGridView Control of VB.NET 2008
Posted
by Tareq
on Stack Overflow
See other posts from Stack Overflow
or by Tareq
Published on 2010-05-20T05:46:05Z
Indexed on
2010/05/20
5:50 UTC
Read the original article
Hit count: 369
vb.net
Hi,
I am using VB.NET 2008 based on Framework 3.5
I use a datagridview control on a form and the form's load event as follows:
Private Sub frmServiceSettings_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
With dgvFinishedProduct
Dim myCombo As New DataGridViewComboBoxColumn
... I generate the combo here from the result of my database
.Columns.Add(myCombo)
End With
End Sub
Now when i want to get the data that is set in this column, there is no problem. But if I want to set the data programmatically, there arises problem.
How can I solve the problem? If you want more info, please let me know.
© Stack Overflow or respective owner