title: No overload for 'save_Click' matches delegate 'System.EventHandler'
body: <p>I have an asp:button <code>&lt;asp:Button runat="server" ID="save_players" Text="Save Changes" OnClick="save_Click" /&gt;</code> which wants to run the following code, but gets an error "No overload for 'save_Click' matches delegate 'System.EventHandler'".</p>
  
  <p>I recon this is because the method signature does not match EventHandler delegate - but I dont know how to fix it. Any help here please?
  Here is my C# method:</p>
  
  <pre><code>protected void save_Click(object sender, ListViewCommandEventArgs e)
  {
      foreach (ListViewItem item in ListViewAddPlayers.Items)
      {
          if (item.ItemType == ListViewItemType.DataItem)
          {
              string tournyName = (string)(Session["TournyName"]);
              Label gameNumber = (Label)e.Item.FindControl("lblGame");
              TextBox txtPlayer1 = (TextBox)e.Item.FindControl("txtPlayer1");
              TextBox txtPlayer2 = (TextBox)e.Item.FindControl("txtPlayer2");
  
              string updateCommand = "//QUERY HERE//";
              SqlDataSource2.UpdateCommand = updateCommand;
          }
      }
  
      Server.Transfer("tourney-standings.aspx?name=" + (string)(Session["TournyName"]));
  }
  </code></pre>