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 WindowsFormsApplication1
{
public partial class drugview : Form
{
public drugview()
{
InitializeComponent();
}
private void drugsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.drugsBindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.databaseDataSet1);
}
private void drug_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'databaseDataSet1.drugs' table. You can move, or remove it, as needed.
this.drugsTableAdapter.Fill(this.databaseDataSet1.drugs);
...
Go to the complete details ...