Validate values from application .net mvc5 & bootsrap to sql?

0

I'm new to this. I am doing a login in .net mvc5 with bootstrap, I already made my connection with sql, I just want to know how to take the values that insert in "name" and "password" in sql when pressing the "login" button.

    <form role="form">
    <div class="form-group">
      <!--  <center><label for="ejemplo_email_1">Nombre</label></center> -->
        <center><input type="text" class="form-control" id="usuariotxt" placeholder="Introduce tu nombre"></center>
    </div>
    <div class="form-group">
        <!--   <center><label for="ejemplo_password_1">Contraseña</label></center> -->
        <center><input type="password" class="form-control" id="contraseñatxt" placeholder="Contraseña"></center> 
    </div>

    <!-- Botón normal -->
    <center> <button type="button" class="btn btn-primary">Iniciar sesión</button> </center>

    <br />
    
asked by Gama 27.09.2017 в 18:35
source

0 answers