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">
<div class="controls">
<input type="text" id="username" name="username" placeholder="Username" class="input-xlarge">
div>
div>
<div class="control-group">
<div class="controls">
<input type="text" id="email" name="email" placeholder="E-mail" class="input-xlarge">
div>
div>
<div class="control-group">
<div class="controls">
<input type="text" id="password" name="password" placeholder="Password" class="input-xlarge">
div>
div>
<div class="control-group">
<div class="controls">
<input type="text" id="password_confirm" name="password_confirm" placeholder="Password (Confirm)" class="input-xlarge">
div>
div>
<div class="control-group">
<div class="controls">
<input type="submit" id="send" class="btn btn-success btn-large btn-block" value="Register">
div>
div>

Vithal WadjeRank #19 · 47.2K reputationPosted Oct 12, 2014, 9:37 AM EDT
Morris Elkanaev12 reputationPosted Oct 12, 2014, 12:04 PM EDT
Hi Vithal and Thank you.
Can you help me with JQuery how can I do this for two following blocks ?
<div class="control-group">
<div class="controls">
<input type="text" id="username" name="username" placeholder="Username" class="input-xlarge">
div>
div>
<div class="control-group">
<div class="controls">
<input type="submit" id="send" class="btn btn-success btn-large btn-block" value="Register">
div>
div>
I very thank to you !!! :)
SaiRoja50 reputationPosted Nov 3, 2014, 9:21 PM EST
http://aspdotnet-kishore.blogspot.in/2013/10/mvc4-razorhow-to-retrieve-view-values.html
Riddhi ValechaRank #794 · 2.9K reputationPosted Nov 3, 2014, 11:02 PM EST