Aynı hata sanırım VS'den kaynaklı.Genel olsun.
Aynı hata sanırım VS'den kaynaklı.Genel olsun.
Kaynak kodu tam olarak neresi oluyor, burası mı?Anladım. Kaynak kodunuzu atar mısınız?
Int 64 deniyorum kod ise bu.(buton 1 kaydet güncelle olduğu için Save Item kodunu attım))Evet, üst görsel. Ama görsel olarak atmayın. Kodu atın.
Ek olarak şunu Int64 yapın.
Eki Görüntüle 1741202
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace NTPproje
{
public partial class müsteriform : Form
{
public müsteriform()
{
InitializeComponent();
}
private void tablo1BindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.tablo1BindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.database1DataSet);
}
private void müsteriform_Load(object sender, EventArgs e)
{
// TODO: Bu kod satırı 'database1DataSet.Tablo1' tablosuna veri yükler. Bunu gerektiği şekilde taşıyabilir, veya kaldırabilirsiniz.
this.tablo1TableAdapter.Fill(this.database1DataSet.Tablo1);
}
private void button1_Click(object sender, EventArgs e)
{
this.Validate();
this.tablo1BindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.database1DataSet);
}
private void button2_Click(object sender, EventArgs e)
{
menü menü = new menü();
menü.Show();
this.Hide();
}
private void tablo1DataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
}
}
}
private void button1_Click(object sender, EventArgs e)Kod temiz.
Geri Int32 yapınız.
Bağlantı ve diğer işlemleriniz hatalı genel olarak. O yüzden bu videoyu izleyiniz. İngilizce, ama kodlara baksanız ve yapsanız yeterli.
Size nasıl yapacağınızı gösteriyor.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.OleDb;
namespace W1Apps
{
public partial class Form1 : Form
{
OleDbConnection conn;
OleDbCommand.cmd; (Hata aldığım yer cmd)
OleDbDataAdapter adapter;
Bu sitenin çalışmasını sağlamak için gerekli çerezleri ve deneyiminizi iyileştirmek için isteğe bağlı çerezleri kullanıyoruz.