title: Overload Baseform
body: <p>How do i use overload in C#</p>
  
  <p>I have a sample codes that goes like this</p>
  
  <pre><code>Namespace Test
  Partial Class TestAccess
      Inherits BaseForm
  
      Dim db As New database
      Dim share As New ShareMethod
  
      Protected Overloads Overrides Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
  
          MyBase.Page_Load(sender, e)
  </code></pre>
  
  <p>I tried using the converter, but keep getting error.  </p>
  
  <p>And my overload doesnt have any function, so do i still use .....+....</p>
  
  <p>****UPDATED</p>
  
  <p>Here is my codes for the program which i want to inherit</p>
  
  <pre><code>namespace CRRBaseForm
  </code></pre>
  
  <p>{</p>
  
  <pre><code>public partial class TAView : BaseForm
  {
      protected override void Page_Load(object sender, EventArgs e)
      {
          if (Page.IsPostBack == false)
          {
              binddropdownlists();
          }
      }
  </code></pre>
  
  <p>currently nothing happens. 
  but when i did this; it tells me that i need to overload:</p>
  
  <pre><code>    namespace CRRBaseForm
  {
  
      public partial class TAView : BaseForm
      {
          protected override void Page_Load(object sender, EventArgs e)
          {
              if (Page.IsPostBack == false)
              {
                  Page_Load(); //call from BaseForm
                  binddropdownlists();
              }
          }
  </code></pre>
  
  <p>my baseform is as follow:</p>
  
  <pre><code>namespace CRRBaseForm
  {
  
  public partial class BaseForm : System.Web.UI.Page
  {
      protected virtual void Page_Load(object sender, EventArgs e)
      {
          //Check if the Session Login id null
          if (Session["UserID"] == null)
          {...
  ...
  ...
  </code></pre>