i want to update rows and make changes to database but i've got this error
error:Error 1 No overload for method 'Update' takes '2' arguments
Code:rowIndex = serviceLogDataGridView.CurrentCellAddress.Y; dsJPS.Tables["ServiceLog"].Rows[rowIndex]["Date_Serve"] = dateTimePicker1.Value; dsJPS.Tables["ServiceLog"].Rows[rowIndex]["tech_Assigned"] = comboBox1.SelectedValue.ToString(); this.serviceLogBindingSource.EndEdit(); this.serviceLogTableAdapter.Update(newSet, "ServiceLog");




Reply With Quote