We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

how to add an combobox in a datagri(Vb.net)

please help

1 Reply

SR sree May 9, 2006 06:37 AM UTC

drag one datagrid onto ur form enter the following code. this is work for column number 2. If DataGrid1.CurrentCell.ColumnNumber = 2 Then ComboBox1.Left = DataGrid1.Left + DataGrid1.GetCurrentCellBounds.Left ComboBox1.Top = DataGrid1.Top + DataGrid1.GetCurrentCellBounds.Top ComboBox1.Width = DataGrid1.GetCurrentCellBounds.Width ComboBox1.Visible = True Else ComboBox1.Visible = False End If

Loader.
Live Chat Icon For mobile
Up arrow icon