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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





43776 May 3,2006 09:29 AM UTC May 9,2006 06:37 AM UTC WinForms 1
Tags: FAQ
Maheshwar Pradhan
Asked On May 3, 2006 09:29 AM UTC

please help

Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon