In your answer please bear in mind I've only been using C# for about a month and pretty much all I know I have taught myself. I had some experience with C programming beforehand.
I'm trying to make an application where I am accessing an access database through a datagridview of an application. I am having trouble finding the right code to save the changes I make to the grid permanently to the actual database. Right now my save button does nothing.
I would appreciate any ideas on what the next step is.
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;
namespace Gridview
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
// This line of code loads data into the 'tableDataSet.Library' table. You can move, or remove it, as needed.
this.libraryTableAdapter.Fill(this.tableDataSet.Library);
}
private void button1_Click(object sender, EventArgs e)
{
}
}
}