title: is not declared. It may be inaccessible due to its protection level
body: <pre><code>Protected Sub btnAddSubmit_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnAddSubmit.Click
      Dim SQLStatement As String = "INSERT INTO account(firstname, lastname, uname, pass, type)" &amp; " VALUES ('" &amp; fname.Value.ToString &amp; "','" &amp; lname.Value.ToString &amp; "','" &amp; username.Value.ToString &amp; "','" &amp; password.Value.ToString &amp; "','" &amp; Type.Value.ToString &amp; "')"
      SaveNames(SQLStatement)
      fname.Value = ""
      lname.Value = ""
      username.Value = ""
      password.Value = ""
      Type.Value = ""
  </code></pre>
  
  <p>All the fname.Value.ToString, lname.Value.ToString, uname.Value.ToString, password.Value.ToString, type.Value.ToString is showing an error of</p>
  
  <blockquote>
    <p>is not declared. It may be inaccessible due to its protection level.</p>
  </blockquote>
  
  <p>These are textbox</p>
  
  <pre><code>        &lt;div class="pure-control-group"&gt;
          &lt;label for="firstname"&gt;First Name&lt;/label&gt;
          &lt;input runat="server" id="fname" type="text" placeholder="Firstname"&gt;
      &lt;/div&gt;
      &lt;div class="pure-control-group"&gt;
          &lt;label for="lastname"&gt;Last Name&lt;/label&gt;
          &lt;input runat="server" id="lname" type="text" placeholder="Lastname"&gt;
      &lt;/div&gt;
      &lt;div class="pure-control-group"&gt;
          &lt;label for="name"&gt;Username&lt;/label&gt;
          &lt;input runat="server" id="username" type="text" placeholder="Username"&gt;
      &lt;/div&gt;
      &lt;div class="pure-control-group"&gt;
          &lt;label for="password"&gt;Password&lt;/label&gt;
          &lt;input runat="server" id="password" type="password" placeholder="Password"&gt;
  </code></pre>