title: Add new user to using ASP.NET Membership class
body: <p>I am build webform application using vs2012 express edition.<br>
  After configuring the SqlMembership provider to store the users credential to my Sqlserver db, i want to create user user but i got this error:
  cannot declare a variable of type 'System.Web.Security.Membership.<br>
  I spent amost two hour googling still no resolution. here is my code</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.Security;
  using System.Web.UI;
  using System.Web.UI.WebControls;
  using System.Web.Security.Membership;
  //using Microsoft.AspNet.Membership.OpenAuth;
  
  namespace Practice_project.Account
  {
  public partial class Register : Page
  {
      protected void Page_Load(object sender, EventArgs e)
      {
          //RegisterUser.ContinueDestinationPageUrl = Request.QueryString["ReturnUrl"];
      }
  
     public void RegisterUser_CreatedUser(object sender, EventArgs e)
      {
  
  
          Membership Create_New_User = Membership.CreateUser(UserName, Password);
  
      }
  }
  }
  </code></pre>