muratboy31 Posted July 24, 2013 Share Posted July 24, 2013 (edited) Merhaba arkadaşlar, Mysql veri tabanındaki bilgiyi combobox a nasıl populate edebilirim acaba ? MySQLConnection, err = MySQL:connect("deneme", "user", "pass", "172.16.1.2"); Mesela adi kolonunun comboboxta listelenmesini istiyorum: Edited July 24, 2013 by muratboy31 Quote Link to comment Share on other sites More sharing options...
muratboy31 Posted July 24, 2013 Author Share Posted July 24, 2013 Buldum, teşekürler. MySQLConnection, err = MySQL:connect("deneme", "user", "pass", "172.16.1.2"); MySQLCursor, err = MySQLConnection:execute("SELECT * FROM demirbas"); satir = MySQLCursor:fetch({},"a"); while satir do ComboBox.AddItem("ComboBox1", satir.adi, ""); satir = MySQLCursor:fetch(satir,"a"); end Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.