title: c# asp.net making a session equal to a columns data?
body: <p>I have a problem i can't get my session to be equal to my database column User.Roles. I want to be able to make, so the users can't use my admin system. If you have an idea please share it with me.</p>
  
  <pre><code>if (Session["Rolle"] != null)
  {
      Admin_panel.Visible = true;
  }
  </code></pre>