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 | 1940 (1323) | korenje3 |
» | Baza & c#Oddelek: Programiranje | 4157 (3215) | xardas |
» | DataView, DataTable, DataSetOddelek: Programiranje | 1158 (909) | detroit |
» | [C#] DATA GRID VIEWOddelek: Programiranje | 1943 (1823) | Kekec |
» | [ASP.NET]Oddelek: Programiranje | 1325 (1179) | OmegaM |