Roull

Roull

  • NA
  • 44
  • 3.2k

How to input data from DataGridView to MS Access?

Feb 13 2017 1:52 AM
I am creating an Attendance Monitoring System I was able to input data from dateTimePicker to DataGridView, Now I wanna know  how to connect the form to ms access and save it there, here is a sample of my code:
 
private void button1_Click(object sender, EventArgs e)
{
int n = dataGridView1.Rows.Add();
dataGridView1.Rows[n].Cells[3].Value = dateTimePicker1.Value.ToString();
}
 
To see the rest of my code check the attachment
 
 
 

Answers (1)