Article View: borland.public.jbuilder.java.swing
Article #10513why ListControl and JdbList are empty after setDataSet()
From: Shaomei Ruan
Date: Thu, 16 Sep 1999 00:00
Date: Thu, 16 Sep 1999 00:00
16 lines
987 bytes
987 bytes
What's wrong with the following code?
myListControl.setDataSet(queryDataSet);
myListControl.setColumnName("column1");
myJdbList.setDataSet(queryDataSet);
myJdbList.setColumnName("column1");
These codes do not populate the data into the ListControl and JdbList as
I expected. Did I miss anything? Is this a bug? How do I get around it
without having to retrieve each record from the dataset myself and then
set item to JdbList?
Thanks
Shaomei
Technical Details
Message-ID:
<37E1B88F.A081BA1C@geocities.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e736ecc5014f464f X-Google-Attributes: gid111d45,public From: Shaomei Ruan <sruan@geocities.com> Subject: why ListControl and JdbList are empty after setDataSet() Date: 1999/09/16 Message-ID: <37E1B88F.A081BA1C@geocities.com> X-Deja-AN: 526151680 Content-Transfer-Encoding: 7bit Organization: @Home Networks X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing