Please understand the idea behind this
void BindDataGridView()
{
DataTable mydata = GetDataFromDatabase();
DataGridView1.DataSource = mydata;
}
protected void btnSubmit_Click(object sender, EventArgs e)
{
string insertQuery = "write your insert query";
Dal.InsertData(insertQuery);
BindDataGridView();
}