BeyazEylem Posted October 3, 2008 Share Posted October 3, 2008 arkadaşlar visual basic 6 da listbox1 içindeki verileri text1 den arıyacağım yani text1'e mesela an yazdım an ile ilgili tüm listeyi göstericek ama seçmiyecek mesela ben böyle yapmıstım seciyor buda veritabanında hata vermesine neden oluyor.. If Text1 <> "" Then List1.ListIndex = SendMessage(List1.hwnd, LB, -1, ByVal CStr(Text1)) Else List1.Text = "" End If Link to comment Share on other sites More sharing options...
BeyazEylem Posted October 3, 2008 Author Share Posted October 3, 2008 bilgisi olan yok mu Link to comment Share on other sites More sharing options...
wmismail Posted October 3, 2008 Share Posted October 3, 2008 an ile derken ? an ____ an ankara angut ansdg gibi mi ? yani ajax arama script gibi ? Link to comment Share on other sites More sharing options...
BeyazEylem Posted October 4, 2008 Author Share Posted October 4, 2008 evet öyle.. Link to comment Share on other sites More sharing options...
Administrator sk8er_boi Posted October 4, 2008 Administrator Share Posted October 4, 2008 texte yazdığın an arayıp dbden arayıp sonuçları list1'e mi listelemesini istiyorsun? Link to comment Share on other sites More sharing options...
wmismail Posted October 4, 2008 Share Posted October 4, 2008 http://www.tnctr.com/index.php?showtopic=68249 Burdaki gibi diyor. Yani aynı sistem olcak. Bende onu araştırıyordum. Vb.net 'te. Link to comment Share on other sites More sharing options...
Administrator sk8er_boi Posted October 4, 2008 Administrator Share Posted October 4, 2008 text1'in change eventine select * from tablo where id=' & text1.text & "'" gibi bir sorgu koyarsınız. Ama a ile başlayan 5000 tane girdi vardır. o zaman bir şart koyarsın. if len(text1.text)>2 then dersin, 3 karakter girmeden filtreleme yapmaz. Link to comment Share on other sites More sharing options...
BeyazEylem Posted October 4, 2008 Author Share Posted October 4, 2008 öyle değil mesela listbox itemleri sunlar Anne Ankara Aslı Ayşe Baba Banka Benzer Bomba Ciklet Cennet ... bunlar simdi text1'e yazıcam mesela a diye o listbox ta sadece Anne Ankara Aslı Ayşe itemleri gözükücek sonra text1'e an yazdım o zmnda Anne Ankara olucak Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.