Please find the html & C# code follow as:
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<h3 class="heading_b uk-margin-bottom">
Form Validation</h3>
<div class="md-card">
<div class="md-card-content large-padding">
<form id="form_validation" class="uk-form-stacked" action="" method="post">
<div class="uk-grid" data-uk-grid-margin>
<div class="uk-width-medium-1-2">
<div class="parsley-row">
<label for="fullname">
Full Name<span class="req">*</span></label>
<input id="fullname" type="text" name="n_fullname" required class="md-input" runat="server" />
</div>
</div>
<div class="uk-width-medium-1-2">
<div class="parsley-row">
<label for="email">
Email<span class="req">*</span></label>
<input runat="server" id="email" type="text" name="n_email" data-parsley-trigger="change"
required class="md-input" />
</div>
</div>
</div>
<div class="uk-grid">
<div class="uk-width-1-1">
<button type="submit" class="md-btn md-btn-primary">
Submit</button>
</div>
</div>
</form>
</div>
</div>
</asp:Content>
if (Request.RequestType == "POST")
{
string name = string.Empty;
string emailid = string.Empty;
name = Request.Form["n_fullname"];
emailid = Request.Form["n_email"];
}
Please check the code and suggest me what should I do?
Thank you.