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