CraneWendySoldier
Decapat
- Katılım
- 2 Eylül 2021
- Mesajlar
- 455
- Çözümler
- 3
Daha fazla
- Cinsiyet
- Erkek
C#:People insan = new People(); insan.ad = maskedTextBox1.Text; insan.soyad = maskedTextBox2.Text; insan.tcno = Convert.ToUInt64(maskedTextBox4.Text); insan.numara = Convert.ToUInt64(maskedTextBox3.Text); insan.adres = maskedTextBox5.Text; tablo.Rows.Add(insan); tablo.DataSource = tablo;
People olan yeri class isminiz ile değiştirin.
C#:public string ad { get; set; } public string soyad { get; set; } public ulong numara { get; set; } public ulong tcno { get; set; } public string adres { get; set; }
Bu hata geldi hocam.