korasoglu Posted January 22, 2016 Share Posted January 22, 2016 Arkadaşlar sql de kullanılmaması gereken karakterler ve çözümü hakkında yardım alabilirmiyim. Quote Link to comment Share on other sites More sharing options...
cumman Posted January 22, 2016 Share Posted January 22, 2016 parametre olarak gonderirsen her turlu karakteri kullanabilirsin. parametre olarak gondermezsen ne kullanirsan kullan sql injection ile karsilasirsin. Quote Link to comment Share on other sites More sharing options...
korasoglu Posted January 22, 2016 Author Share Posted January 22, 2016 Yani bu parametre olayına küçük bir örnek versen daha hoş olur inan. Quote Link to comment Share on other sites More sharing options...
cumman Posted January 22, 2016 Share Posted January 22, 2016 hangi motoru kullandigini, dilde yazdigini soylememissin nasil ornek verebilirim? Quote Link to comment Share on other sites More sharing options...
korasoglu Posted January 27, 2016 Author Share Posted January 27, 2016 işlerin yoğunluğundan yeni gördüm tşk ederim ilgilenmişin ama ben görmedim. sql cümleleri için örnek verirsen çok sevinirim Quote Link to comment Share on other sites More sharing options...
cumman Posted January 28, 2016 Share Posted January 28, 2016 eger ms sql kullaniyorsan parametreleri su skeilde yollayabilirsin. Ornek olarak 2 tane variablen varsa username ve password. Bunlari sqlparametre olarak atayabilirsin: var sqlParams = new[] { new SqlParameter("@username", Username.ToValidSqlParameterValue()), new SqlParameter("@pass", Password.ToValidSqlParameterValue()), }; 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.