HERE I WANTED TO FILL MY BLANK RECORD WITH ITS VALID DATA
private void button5_Click(object sender, EventArgs e)//modify
{
comm.Connection = conn;
comm.CommandText = " UPDATE Table1 SET total='" + textBox6.Text + "',result='" + label7.Text + "' WHERE Fname ='" + textBox1.Text + "'";
conn.Open();
comm.ExecuteNonQuery();
conn.Close();
dataGridView1.Update();
}
I WISH FOR A SIMPLE SINGLE LINE CODE..