Jump to content

İni Veri Okuma Ve Yazma


korasoglu
 Share

Recommended Posts

  • 3 hafta sonra ...

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 by korasoglu
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

  • 1 yıl yıl...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...