[ASK] get query result from SQL to ComboBox

Go down

[ASK] get query result from SQL to ComboBox

Post  yanuar199 on Sun Dec 21, 2008 2:57 pm

ada bisa bantuin aq plis...

mau add item combobox dari resultnya query SQL pake c#..
Thx
avatar
yanuar199

Number of posts : 16
Age : 28
Lokasi : muka di depan monitor, tangan kanan di atas mouse, tangan kiri diatas keyboard, pantat di atas kursi
Points : -2
Reputation : 0
Registration date : 2008-12-09

View user profile http://www.mobiletech-indonesia.com

Back to top Go down

Re: [ASK] get query result from SQL to ComboBox

Post  J0N6Q on Sun Dec 28, 2008 8:40 pm

kalau untuk add item aja kamu bisa lihat contoh berikut ini :

List<String> coba = new List<string>();

foreach (String a in coba)
{
comboBox1.Items.Add(a);
}

Nah, sebelum nya result query dari SQL kamu, disimpan terlebih dahulu ke sebuah List<String>.

_________________
Best Regards,

Yongkie Purnomo BudiSaputra
Email : yongkie.budisaputra@multipolar.com
Gmail : purnomo.yongkie@gmail.com
YM ID : yongkie2sala3
MSN ID : J0N6_Q
Forum : http://pc-fti.unlimitedforum.com
avatar
J0N6Q
Admin

Number of posts : 25
Age : 29
Lokasi : nomaden
Points : -18
Reputation : 0
Registration date : 2008-11-14

View user profile http://www.havingnews.com

Back to top Go down

Re: [ASK] get query result from SQL to ComboBox

Post  yanuar199 on Sat Jan 03, 2009 8:55 pm

hhmmm....
ntar di coba..
thx
avatar
yanuar199

Number of posts : 16
Age : 28
Lokasi : muka di depan monitor, tangan kanan di atas mouse, tangan kiri diatas keyboard, pantat di atas kursi
Points : -2
Reputation : 0
Registration date : 2008-12-09

View user profile http://www.mobiletech-indonesia.com

Back to top Go down

Re: [ASK] get query result from SQL to ComboBox

Post  J0N6Q on Wed Feb 11, 2009 2:02 am

yanuar199 wrote:hhmmm....
ntar di coba..
thx

Gimana bro hasil dari percobaan nya???Sukses kah??

_________________
Best Regards,

Yongkie Purnomo BudiSaputra
Email : yongkie.budisaputra@multipolar.com
Gmail : purnomo.yongkie@gmail.com
YM ID : yongkie2sala3
MSN ID : J0N6_Q
Forum : http://pc-fti.unlimitedforum.com
avatar
J0N6Q
Admin

Number of posts : 25
Age : 29
Lokasi : nomaden
Points : -18
Reputation : 0
Registration date : 2008-11-14

View user profile http://www.havingnews.com

Back to top Go down

Re: [ASK] get query result from SQL to ComboBox

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum