using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System********s.Forms;
using System.Configuration;
using MySql.Data.MySqlClient;
using System.Data.SqlClient;

namespace kayıt_program
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button3_Click(object sender, EventArgs e)
{
baglantı.aç
StreamWriter ahm = File.AppendText("csdosyaislemleri.txt");
ahm.WriteLine(textBox1.Text + "$" + textBox2.Text + "$" + textBox3.Text);
ahm.Flush();
ahm.Close();
int i = 0;

try
{
using (streamReader sr = new Stream())
Reader("text.txt");
{
string line;
while ((line = sr.Readline()) != null)
{
listBox1.Items.Add(line);
}
}
}
catch
{
MessageBox.Show("Hata Meydana Geldi");
}
but++;
}

}
}

Tüm forumdan rastgele konular:

  • » New York borsası yükseldi
  • » Antalya Altın Portakal’da 14 Ekim...
  • » En Tahripkâr Darbeler
  • » Hızır orucu nedir?
  • » Yaza formda girmek isteyenlere öneriler
  • » Dergah Grubunun Dikkatine....
  • » Bu pankartlar unutulmaz
  • » Yılmaz GÜNEY Şiirleri
  • » Bubble Sort
  • » Avrupa`da otomobil satışları geriledi

Aynı kategoriden rastgele konular:

  • » Cd Seri Numarası Bulma
  • » C# Asal Sayı Programı
  • » C# Kalıtım Nesneleri Oluşturma
  • » Kod ile Cd Yazma (Cd Burning)
  • » Visual C# 2008 Eğitimi Türkçe E-Book
  • » C# Ögrenci Sınıf Yönetimi
  • » C# ve Kural Dışı Durum Yönetimi
  • » Program / Proje Yazılır........ . Dönem...
  • » C# ve Crystal Reports 10
  • » C# Okey 1.0