pcusta_99 Posted November 10, 2011 Share Posted November 10, 2011 (edited) Arkadaşlar [code] sifre = "123" user = Input.GetText("Input1") if pass == sifre then Page.Jump("Page2") else Dialog.Message("Hata", "Giriş bilgileriniz yanlış") end[/code] butona tıkladığım zaman şifreyi doğru girsemde girmesemde Giriş bilgileriniz yanlış diyor. Bu kodu nasıl düzenlemeliyim ? Edited November 10, 2011 by pcusta_99 Quote Link to comment Share on other sites More sharing options...
NotToday Posted November 10, 2011 Share Posted November 10, 2011 sifre = 123 şeklinde düzelt de dene Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted November 10, 2011 Author Share Posted November 10, 2011 [quote name='ReaLyMaN' date='10 November 2011 - 18:01 ' timestamp='1320940875' post='1109577'] sifre = 123 şeklinde düzelt de dene [/quote] Yine Giris bilgileriniz yanlış diyor... Quote Link to comment Share on other sites More sharing options...
Bitmap Posted November 10, 2011 Share Posted November 10, 2011 [quote]sifre = "123" user = Input.GetText("Input1") if [color="#FF0000"]pass[/color] == sifre then Page.Jump("Page2") else Dialog.Message("Hata", "Giriş bilgileriniz yanlış") end[/quote] burada pass tanımlı değil.. Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted November 10, 2011 Author Share Posted November 10, 2011 [quote name='Kazım' date='10 November 2011 - 18:05 ' timestamp='1320941101' post='1109582'] burada pass tanımlı değil.. [/quote] Peki nasıl tanımlıcam ? Quote Link to comment Share on other sites More sharing options...
Bitmap Posted November 10, 2011 Share Posted November 10, 2011 [quote] sifre = "123" pass = Input.GetText("Input2") user = Input.GetText("Input1") if pass == sifre then Page.Jump("Page2") else Dialog.Message("Hata", "Giriş bilgileriniz yanlış") end [/quote] yeni bir input ekleyip üstteki gibi deneyin Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted November 10, 2011 Author Share Posted November 10, 2011 [quote name='Kazım' date='10 November 2011 - 18:07 ' timestamp='1320941253' post='1109585'] yeni bir input ekleyip üstteki gibi deneyin [/quote] Yine işe yaramdı üstadım. Rica etsem TeamViewer yada başka bir yolla yardımcı olabilir misiniz ? Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted November 10, 2011 Share Posted November 10, 2011 [b]Proje Ver İstersen ?[/b] Quote Link to comment Share on other sites More sharing options...
NotToday Posted November 10, 2011 Share Posted November 10, 2011 [quote]sifre = "123" user = Input.GetText("Input1") if user == sifre then Page.Jump("Page2") else Dialog.Message("Hata", "Giriş bilgileriniz yanlış") end[/quote] Quote Link to comment Share on other sites More sharing options...
Bitmap Posted November 10, 2011 Share Posted November 10, 2011 işte bende bunu anlatmaya çalışıyodum.. Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted November 10, 2011 Author Share Posted November 10, 2011 [img]http://b1111.hizliresim.com/r/b/fzx4.png[/img] Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted November 10, 2011 Author Share Posted November 10, 2011 Bu kodlar işe yaradı. Konuyla ilgilene herkese teşekkürler... Quote Link to comment Share on other sites More sharing options...
NotToday Posted November 10, 2011 Share Posted November 10, 2011 (edited) Şayet ikili yapmak istersen [quote]cKullanici="123" cParola="123" kullanici = Input.GetText("Input1"); parola = Input.GetText("Input2"); if cKullanici == kullanici and cParola == parola then Page.Jump("Page2") else Dialog.Message("Hata", "Giriş bilgileriniz yanlış") end [/quote] Edited November 10, 2011 by ReaLyMaN 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.