title: Button click in web application with ASP.NET and C#
body: <p>I am new in csharp and asp.net, I am writing an web application with asp.net and csharp, anyway;
  In my default.aspx I have button, if I click the button I want to open different page(e.g. asdfg.aspx). To do this I write this code in default.aspx:</p>
  
  <pre><code> &lt;asp:Button ID="button1" runat="server" Text="Click Button" OnClick="ButtonClick" /&gt; 
  </code></pre>
  
  <p>in my default.aspx.cs I created this code segment:</p>
  
  <pre><code>public void ButtonClick(Object sender, EventArgs e)
  {
  
  
  }
  </code></pre>
  
  <p>After that what can I do? Thanks </p>
  
  <p>p.s.Sorry for my english.</p>