Advertisement
Guest User

Untitled

a guest
Feb 14th, 2012
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.91 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9.  
  10. namespace WindowsFormsApplication2
  11. {
  12.     public partial class Form1 : Form
  13.     {
  14.         public Form1()
  15.         {
  16.             InitializeComponent();
  17.         }
  18.  
  19.         private void mineralsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
  20.         {
  21.             this.Validate();
  22.             this.mineralsBindingSource.EndEdit();
  23.             this.tableAdapterManager.UpdateAll(this.ore_stockDataSet);
  24.  
  25.         }
  26.  
  27.         private void Form1_Load(object sender, EventArgs e)
  28.         {
  29.             // TODO: This line of code loads data into the 'ore_stockDataSet.minerals' table. You can move, or remove it, as needed.
  30.             this.mineralsTableAdapter.Fill(this.ore_stockDataSet.minerals);
  31.  
  32.         }
  33.     }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement