title: No overload for '' matches delegate 'System.EventHandler'
body: <p>This code generate the error above, Im trying to do some method which sends a file to ftp server </p>
  
  <pre><code>public void btnSend_Click(object sender, GridViewCommandEventArgs e)
  {
  
  
      msgerror = SP.StrSPBUS_DocClient(Convert.ToInt32(e.CommandArgument.ToString()));
  
      if (msgerror.Equals("Sucess"))
      {
          String Files = SP.OUTSTR_NMDOCUMENT;
          String Address = SP.OUTSTR_FTPCAM;
          String User = SP.OUTSTR_FTPUSER;
          String Pass = SP.OUTSTR_FTPPASS;
  
          FtpWebRequest request = (FtpWebRequest)WebRequest.Create(Address + "/" + Path.GetFileName(File));
          request.Method = WebRequestMethods.Ftp.UploadFile;
          request.Credentials = new NetworkCredential(User, Pass);
          request.UsePassive = true;
          request.UseBinary = true;
          request.KeepAlive = false;
  
          var stream = File.OpenRead(Files);
          byte[] buffer = new byte[stream.Length];
          stream.Read(buffer, 0, buffer.Length);
          stream.Close();
  
          var reqStream = request.GetRequestStream();
          reqStream.Write(buffer, 0, buffer.Length);
          reqStream.Close();
      }
      else
      {
          SP.StrImprimeMessage("Error!");
          return;
      }
  }
  </code></pre>
  
  <p>and file .aspx this is the code of button   </p>
  
  <pre><code>&lt;tr class="tabelinner"&gt;
              &lt;td class="leftcell" valign="middle"&gt;
  
                      &lt;asp:Button ID="btnSrend" runat="server" Text="Send" CssClass="ButtonLink" ValidationGroup="sending"  CommandArgument="Sending" onclick="btnSend_Click"     /&gt;
                  &lt;br /&gt;
              &lt;/td&gt;              
          &lt;/tr&gt;
  </code></pre>