Posts: 313
Threads: 20
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jul 2011
Reputation:
0
you need the condition to which row to apply it:
Update t_shop SET a_keeper_idx=New ID WHERE a_keeper_idx =Old ID;"
Posts: 190
Threads: 13
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Feb 2013
Reputation:
0
The Update code seems to dont work. Its update it but if i reload the listBox i see my old ID.
Posts: 272
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jun 2012
Reputation:
0
The Update code seems to dont work. Its update it but if i reload the listBox i see my old ID.
you see your old list because you have to erase listbox before reload it
Posts: 190
Threads: 13
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Feb 2013
Reputation:
0
You mean i have to erase it? How to do? (sorry im noob on listbox with mysql config, im trying to learn it)
Regards Jaiz
Posts: 272
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jun 2012
Reputation:
0
You mean i have to erase it? How to do? (sorry im noob on listbox with mysql config, im trying to learn it)
Regards Jaiz
before add items in listbox, you have to do:
listBox1.Items.Clear();
Posts: 190
Threads: 13
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Feb 2013
Reputation:
0
listBox1.Items.Clear();
After adding and reloading error.
Posts: 272
Threads: 21
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jun 2012
Reputation:
0
when you write what i have posted, you have to reload npcs before select some of them.