468,140 Members | 1,464 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,140 developers. It's quick & easy.

Adding itens into a combobox

Hi,

is there anyway to add itens into a combobox after this
control be bound with a dataset?

Regards,

Marco
Nov 20 '05 #1
1 1181
Hello Marco,

the current Windows Forms ComboBox control does not support adding items to
it when it is data bound. You could work around this by either adding more
items in the DataSet or populating the ComboBox control manually from the
values in the DataSet or elsewhere (which is what databinding normally does
for you).

Antoine
Microsoft Visual Basic .NET

This reply is provided AS IS, without warranty (express or implied).
--------------------
From: "Marco Roberto" <ma***********@bancopatria.com.br>
Subject: Adding itens into a combobox
Date: Mon, 10 Nov 2003 18:55:57 -0300
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#k**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: 200.218.186.34
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA06.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP09.phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:155667
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hi,

is there anyway to add itens into a combobox after this
control be bound with a dataset?

Regards,

Marco


Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Raghavendra Mudugal | last post: by
5 posts views Thread by Aaron Ackerman | last post: by
6 posts views Thread by Juan Pedro Gonzalez | last post: by
reply views Thread by Evandro Klen S. Azeredo | last post: by
27 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.