I have button TsmRefresh it must be update data from selling table which is in sql server database
when i press this button in datagridview adding same data which is already in datagridview. everything is double. its make same evry press in this button.Im using c# what is problem can anybody say to me?
i dont use outer joini have columns (ID, ProductID(idont use this), BarCode, ProductName, Price, SelfPrice, PriceWithOutAWD, Comment, DateTime, Quantity) i use primary key only ID
private void TsmRefresh_Click(object sender, EventArgs e) { sqlDataAdapter1.Fill(dataSet11); }