Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Pa help about sa listbox. vb.net 2010

Status
Not open for further replies.

mhelski123

The Devotee
Advanced Member
Messages
367
Reaction score
0
Points
26
mga sir pa help po. paano ko ma iinsert yung lhat ng items ng listbox sa mysql database? kasi pag nag iinsert ako yung una lang lagi naiinsert eh. thanks sana po may makahelp



up
 
Last edited:
up up up up up lang po

boss gumamit ka lang ng FOR Loop.

For Each _string As String In ListBox1.Items
cmd = New mysqlcommand("INSERT INTO tblname (val) VALUES ('" & _string & "')")
Next
 
Last edited:
boss gumamit ka lang ng FOR Loop.

For Each _string As String In ListBox1.Items
cmd = New mysqlcommand("INSERT INTO tblname (val) VALUES ('" & _string & "')")
Next

try ko idol thanks sa response

- - - Updated - - -

ok na po! napagana ko na salamat sir sheian122010
 
Status
Not open for further replies.
Back
Top Bottom