korasoglu Posted June 14, 2015 Share Posted June 14, 2015 Arkadaşlar ini dosyasından veri okuma ve yazma nasıl olur c# de alternatifi bu daha güzeldir dediğiniz bilgileride alabilirim. Quote Link to comment Share on other sites More sharing options...
casper0007 Posted June 14, 2015 Share Posted June 14, 2015 Arkadaşlar ini dosyasından veri okuma ve yazma nasıl olur c# de alternatifi bu daha güzeldir dediğiniz bilgileride alabilirim. http://www.solvusoft.com/tr/file-extensions/file-extension-ini/ 1 Quote Link to comment Share on other sites More sharing options...
muratboy31 Posted June 15, 2015 Share Posted June 15, 2015 bence ini kullanma, XML çok daha başarılı... Quote Link to comment Share on other sites More sharing options...
KintaRo Posted June 15, 2015 Share Posted June 15, 2015 https://yadi.sk/d/r5dqbhz0hFzSq 1 Quote Link to comment Share on other sites More sharing options...
korasoglu Posted June 15, 2015 Author Share Posted June 15, 2015 hocam çok teşekkür ederim faydalı oldu Quote Link to comment Share on other sites More sharing options...
korasoglu Posted July 6, 2015 Author Share Posted July 6, 2015 (edited) bu örneğe göre ben bir ini yaratıp veri girmek istiyorum araştırdım ama halledemedim. StreamWriter SW = new StreamWriter(Application.StartupPath + @"\\Isa Avci\\Veri\\Ayar.ini"); SW.Write("[Klasor]"+"\n"+Durum=); Edited July 6, 2015 by korasoglu Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 6, 2015 Share Posted July 6, 2015 kodların sonuna SW.Close(); yazmazsanız dosyayı kaydedip kapatmaz. Quote Link to comment Share on other sites More sharing options...
korasoglu Posted July 6, 2015 Author Share Posted July 6, 2015 Evet oda vardı aldığım yerde fakat iniyle closun ne alakası var demiştim. Yine teşekkür ederim kintaro iyiki varsın. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 6, 2015 Share Posted July 6, 2015 estagfurullah, olaya ini olarak değil dosya olarak bakmak lazim. C# önce dosyayı açar, okur/yazar, sonra dosyayı kapatır. bu esnada dosyayı kilitler, başka bir program o dosyaya müdahale edemez. Güvenlik için bu şekilde sanırım. 1 Quote Link to comment Share on other sites More sharing options...
korasoglu Posted September 30, 2016 Author Share Posted September 30, 2016 hocam foreac ile ini baslik ve alt baslikları nasıl çekebiliriz. 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.