PC Review


Reply
Thread Tools Rate Thread

Additional Reference Needed?

 
 
Ken Saganowski
Guest
Posts: n/a
 
      9th Jul 2003
VB.Net version 2003

I'm attempting to manually populate a comboBox (dropDownList) but am unable
using a syntax I used to use in 2002:

dim dr as sqlclient.sqldatareader = cmd.executeReader
while dr.read
ddl.items.add(new listItem(dr("text"), dr("value")))
end while

Is there an additional project reference needed in order to instantiate a
new ListItem object? I cant get it to come up in the class box.

any help is greatly appreciated.


 
Reply With Quote
 
 
 
 
NNM.RU
Guest
Posts: n/a
 
      9th Jul 2003
ComboBox1.BeginUpdate()

'put your New Item Code here

ComboBox1.EndUpdate()




"Ken Saganowski" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> VB.Net version 2003
>
> I'm attempting to manually populate a comboBox (dropDownList) but am

unable
> using a syntax I used to use in 2002:
>
> dim dr as sqlclient.sqldatareader = cmd.executeReader
> while dr.read
> ddl.items.add(new listItem(dr("text"), dr("value")))
> end while
>
> Is there an additional project reference needed in order to instantiate a
> new ListItem object? I cant get it to come up in the class box.
>
> any help is greatly appreciated.
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Additional Fields as needed Gary Fuller Microsoft Access 4 7th Dec 2007 04:56 PM
Pb with additional VBA reference Zorro Microsoft Excel Programming 1 17th May 2006 08:16 PM
How to search and add an additional reference in a cell Microsoft Excel Worksheet Functions 1 15th Jul 2004 10:43 PM
Additional firewall really needed? Bill Hates Windows XP General 10 3rd Oct 2003 08:02 PM
Additional RAM is needed? J.A DIY PC 6 16th Aug 2003 08:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:00 AM.