p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Professional .NET 2.0 Generics (http://p2p.wrox.com/book-professional-net-2-0-generics-218/)
-   -   filling the combobox using sql data adapter (http://p2p.wrox.com/book-professional-net-2-0-generics/39653-filling-combobox-using-sql-data-adapter.html)

kumaran March 10th, 2006 03:18 PM

filling the combobox using sql data adapter
 

hi,

     will u clear my doubt. my doubt is how to fill the combo box using the sql data adapter. kindly send me sample codings.

   thank u.


gaikwad September 20th, 2006 11:50 PM

dim dr as sqldatareader
dim objdt as datatable

for each dr in objdt.rows
   combo1.items.add(dr("userid"))
 next

gaikwad

gaikwad September 20th, 2006 11:51 PM

my problem is when i fill combo and fill and again click button then combo is filled twice,thrice

gaikwad

mkhamed77 May 13th, 2007 03:25 AM

Just Clear the combo box before filling it
combo1.items.clear()




mylove101987 October 5th, 2015 07:57 AM

I think it is very short and not detail


All times are GMT -4. The time now is 04:29 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.