Exemple #1
0
 protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
 {
     string dataKey = GridView1.DataKeys[e.RowIndex].Value.ToString();
     tk.Delete(dataKey);
     GridView1.DataSource = tk.GetAllTour();
     GridView1.DataBind();
 }