title: Get which Link button has been clicked
body: <p>I am working on an ASP.NET/C# Application.</p>
  
  <p>I have Link buttons like this</p>
  
  <pre><code>&lt;asp:LinkButton ID="LinkButton1" runat="server" OnClick="Link_Click"&gt;Link1&lt;/asp:LinkButton&gt;
  &lt;asp:LinkButton ID="LinkButton2" runat="server" OnClick="Link_Click"&gt;Link2&lt;Chart&lt;/asp:LinkButton&gt;
  &lt;asp:LinkButton ID="LinkButton3" runat="server" OnClick="Link_Click"&gt;Link3&lt;/asp:LinkButton&gt;
  </code></pre>
  
  <p>Is there a way to know which one was clicked in the Link_Click event?</p>
  
  <p>I don't want to create a different event for each link.</p>
  
  <p>I am looking for something like this:</p>
  
  <pre><code>protected void Link_Click(object sender, EventArgs e)
  {
      string LinkClicked = Get_Which_Link_Has_Been_Clicked();
  
      if(LinkClicked == "Link1")
      {
          //DoSomething;
      }
      else if(LinkClicked == "Link2")
      {
          //Do something else;
      }
      //and so on;
  }
  </code></pre>
  
  <p>Thanks in advance.</p>