Kayıtlar

Nisan, 2017 tarihine ait yayınlar gösteriliyor

c# server ve client uygulaması (c# tcp ip)

Resim
Server using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net; using System.Net.Sockets; using System.Threading;

c# acces veri tabanı query builder @ parametre sorunu

Resim
C# access veritabanı uygulamalarınızda query builder platformunda @ parametre sorunu yaşıyorsanız, @ ifadesi yerine ? işareti kullanabilirsiniz. Örnek : ...........WHERE tarih=?  

c# Delay fonksiyonu - c# bekletme (not sleep)

Resim
C# uygulamanızda sleep komutunu kullanarak donma sorunu yaşıyorsanız, aşağıdaki yöntem işinize yarayabilir.  private void txtoid_TextChanged(object sender, EventArgs e)         {          MessageBox.Show("BEKLEME BAŞLIYOR");          bekle(5);  //Bu süreçte donma yok.          MessageBox.Show("BEKLEME BİTTİ");         } void bekle(int saniye)         {             saniye = ((saniye + Convert.ToInt32(DateTime.Now.Second)) % 60);             for (;;)             {                 if (saniye == DateTime.Now.Second) break;             }         }