Forum » Programiranje » [VB.net] datacombobox
[VB.net] datacombobox
korenje3 ::
A mogoče ve, kako bi dal niz v datacombobox.
Imam array v katerem so classi. Ti classi imajo .row as datatable
sedaj bi pa rad bindal column iz teh classov na datacombobox.
Imam array v katerem so classi. Ti classi imajo .row as datatable
sedaj bi pa rad bindal column iz teh classov na datacombobox.
i9-12900k; 32GB DDR5-6000 CL36; Nvidia RTX 3080 ti;
Gigabyte Aorus z690 master; Be Quiet Dark Power 12 1000W
Gigabyte Aorus z690 master; Be Quiet Dark Power 12 1000W
korenje3 ::
Nevermind sem že rešil tako da sem naredil dataview.
Private Function combobox1datasource() As DataView Dim dt As New DataView(fxts.users) dt.RowFilter = fxts.c_active.DataPropertyName & " = 1" Return dt End Function With ComboBox1 .Items.Clear() .DataSource = combobox1datasource() .FlatStyle = FlatStyle.Flat .DropDownStyle = ComboBoxStyle.DropDownList .DisplayMember = fxts.c_ID.DataPropertyName .ValueMember = fxts.c_hash.DataPropertyName End With
i9-12900k; 32GB DDR5-6000 CL36; Nvidia RTX 3080 ti;
Gigabyte Aorus z690 master; Be Quiet Dark Power 12 1000W
Gigabyte Aorus z690 master; Be Quiet Dark Power 12 1000W
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | [VB] datagridviewOddelek: Programiranje | 1930 (1313) | korenje3 |
» | Baza & c#Oddelek: Programiranje | 4152 (3210) | xardas |
» | DataView, DataTable, DataSetOddelek: Programiranje | 1152 (903) | detroit |
» | [C#] DATA GRID VIEWOddelek: Programiranje | 1937 (1817) | Kekec |
» | [ASP.NET]Oddelek: Programiranje | 1319 (1173) | OmegaM |