combobox

  1. S

    Insert Multiple row to DataGrid from populated unbound combobox

    hi there, im trying to insert multiple rows in a datagrid by item inside a combox heres my code For i = 1 To IndexTotalItems Dim row1() As String = {cb_series.Items(i)} Dim rows() As Object = {row1} Dim row As String() For Each row In...
  2. VBobCat

    Question Implement Column/Cell/EditingControl derived classes, host custom ComboBox control

    I have this custom Control class, derived from ComboBox. Its purpose is to provide a standard behavior for controls whose list of items will be populated depending on what user types in it as search criteria. Imports System.ComponentModel Public Class SearchBox Inherits ComboBox Private...
  3. D

    Question combox on datgridview not matching column

    Hi I have a Combobox on a dataviewgrid on a form. The DataGridView is tied to my customers table and shows the records alright and has a County column. The Combox is tied to my County Table and consists of an ID column and County column and is working well. But I can't get the combox to...
  4. M

    Question Multi-completion of SQL table with form

    Hi everyone!, I'm trying to create a project, so that I will have the opportunity to refill the table on SQL server. The table is created and it has several columns. I searched the internet, but did not come across to the the solution I'm looking for. Maybe, I will explain first what would my...
  5. M

    Question Add item to Combobox

    Hello! Currently, I'm working on project, where I would like to use two Windows Forms. First one should be Administrator Form and the second one User form. I would like to know, if it's possible to call String Collection Editor for combobox after button1.click_event in first form, and add...
  6. K

    Question Combobox Search including keyword

    Hello Friends I am VB.NET Programmer and currently working on a project where i have to search from combobox. I am retreving the data from database(MS ACCESS) and loading it in combobox at form load event I have set the following properties in combobox for search : 1. AutoCompleteMode TO...
  7. W

    Question detail view : comboBox value is not getting into the dataset before update

    The dataset is missing the JobSiteID(required field) but it exists in the Winforms combobox. The following code fails to get thecombobox.SelectedValue into the dataset. Private Sub EstimatingSheetBindingNavigatorSaveItem_Click(sender As System.Object, e As System.EventArgs) Handles...
  8. G

    Change selected value or text of a ComboBox ( data Bound )

    I have a combobox which is bound to a Table column. Now suppose it has 4-5 values when the form gets loaded. By default, the 1st item is selected. I want some other item other than the 1st one to be selected when the form loads. I have tried using all combobox properties but it isn't working ...
  9. G

    Question ComboBox OnDataSourceChanged event takes a long time

    Hello, I'm transferring my code from Outlook VBA to VSTO VB.Net. I'm using a ComboBox on a form, and on those two lines, when preparing the ComboBox from code, it takes too much time, making the form unusable: ComboBox_multi_colonnes_Projet.DataSource = ProjetslisteBindingSource...
  10. P

    Question How databinding between 2 combobox from database

    i use VB.NET Visual studio 2008. i have 2 combobox is cbSection and cbTeam. i need databinding between 2 combobox. when i'm select data from cbSection will be show to cbTeam. Ex. cbSection Size Color cbTeam -When Select "Color" Red Blue Green...
  11. J

    Question Problem with ComboBox - SelectedValue <> SelectedItem

    Hi, Strange issue with the .Net Combobox - the SelectedValue is disagreeing with the SelectedItem. Dim VATCategoryAdapter As New IClarityDataSetTableAdapters.VATCategoryTableAdapter Dim newVATCategoryTable As New IClarityDataSet.VATCategoryDataTable . . newVATCategoryTable.DefaultView.Sort =...
  12. B

    Question combobox issue

    hi guys, im trying to use the combobox to update/edit/view the saved data (in contact form) from sql server. my Load_Combobox (in contact form): My Public Sub New (in contact form): My Load_Contact (in Contact form): In clsDBConnect.vb: the problem now is when i saved a record into sql...
  13. S

    Question Cell Level Dynamic ComboBox Fill in DataGridView Cell

    Hi, I want to add a ComboBox at Cell Level in DataGrid. i. e. There is one Static ComboBox(Suppose A) in a Cell of DataGrid, upon Selecting a value of that Combo Box, there on Next cell a ComboBox(Suppose B) will generate dynamically. My Problem is that, on first Row of Grid B ComboBox Value...
  14. S

    Question ComboBox Selection Color

    I have a Win Forms app written in vb.net. In it, I have a combo box with a Owner Draw Item routine. Using this routine, I am able to implement an application-wide default value for a selection color like shown below: This works great except for one tidbit: Once an item is selected, the combo...
  15. M

    Data, ComboBoxes, & The Selected Value

    I have been scouring the internet for days trying to get a cascade of dependent comboboxes working, however no luck, so i was hoping that someone here might be able to provide so assistance. I have an access db with two tables (Type) and (Model) In Type the fields are: TypeID(Auto # pkey) and...
  16. T

    How do I set the column names in a DataTable as a datasource to a ComboBox?

    I'm trying to setup a form to search for data within an existing DataTable. Please help me fill in the blanks below: FilterColumnsComboBox.DataSource = WOTable.Columns? FilterColumnsComboBox.DisplayMember = ??? FilterColumnsComboBox.ValueMember = ??? I could hard-code in the column names...
  17. T

    Question ComboBox with AutoComplete - Text entered moves position of selected item?

    I have an Access database I have to retrieve Work Order information from. I have a ComboBox to list the work order numbers and various text boxes to show the data for the selected row of data based on the data shown in the ComboBox. I want the user to be able to be able to select the number...
  18. H

    GridView with nested Combobox

    Hello to all readers. (Dont know if this should go here or under ASP.Net seeing its VB.Net i posted it here) Scenario: You have a store and like to order a couple of new items for your store, so naturally you will need an order form to be filled in. Requirements on the form are: ID number of...
  19. C

    Question ComboBox Validation

    Hello Everyone, I have been searching for an easier way to validate the text property of my combobox. Below is a background of what I am try to accomplish: I have a from that contains many controls, mainly comboboxes that are bound to datatables. I have these set up in such a fashion as to...
  20. J

    Question SQL ORDER BY with ComboBox

    Hi I've got a TSQL view which looks like this SELECT TOP 100 PERCENT --Needed for the ORDER BY clause N.NHSReasonID ,N.Reason ,N.Notes ,N.TopValue FROM dbo.NHSReason N ORDER BY N.TopValue DESC ,N.Reason In my VB.Net application, I have a ComboBox which uses the above as its datasource...
Back
Top