Cannot Get The HTML Textbox Value July 21, 2022 Post a Comment I have an html form that goes like this: Copy Solution 2: use runat="server" for each control you need to access from code behind <input id="txtemail" runat="server" type="email" class="form-control" placeholder="Email" required> Copy then you can get the value as below mail.From = new System.Net.Mail.MailAddress(txtemail.Value); Copy Share Post a Comment for "Cannot Get The HTML Textbox Value"
Post a Comment for "Cannot Get The HTML Textbox Value"