Morris Elkanaev

Morris Elkanaev

  • NA
  • 12
  • 2.9k

Empty WebSite without code-behind

Oct 12 2014 9:11 AM

Hello All!

I create a new WebSite: File -> New -> WebSite (empty WebSite without helping files and folders).
And I want to create the registration form (I use in Bootstrap and aspx files without code behind of C#).
When I click to the "Register" button I want that my all data what putted in text boxes passed to the C# file or to the SQL Server.How can I do this ?

I'm adding a some script and source file also

I'm very Thank you for help!

<div class="control-group">
  <!-- Username -->
  <div class="controls">
    <input type="text" id="username" name="username" placeholder="Username" class="input-xlarge">
  </div>
</div>

<div class="control-group">
  <!-- E-Mail -->
  <div class="controls">
    <input type="text" id="email" name="email" placeholder="E-mail" class="input-xlarge">
  </div>
</div>

<div class="control-group">
  <!-- Password -->
  <div class="controls">
    <input type="text" id="password" name="password" placeholder="Password" class="input-xlarge">
  </div>
</div>

<div class="control-group">
  <!-- Password Confirm -->
  <div class="controls">
    <input type="text" id="password_confirm" name="password_confirm" placeholder="Password (Confirm)" class="input-xlarge">
  </div>
</div>

<div class="control-group">
  <!-- Button -->
  <div class="controls">
    <input type="submit" id="send" class="btn btn-success btn-large btn-block" value="Register">
  </div>
</div>



Answers (4)