This article explains how to generate a TextBox at the runtime with validation in an ASP.NET Web Application.
Look at the following images.
Enter the number in the TextBox and click Create_TextBox and it will generate the TextBox.
Now, TextBoxes are Created.
When you click on “DisplayTextBoxValues” button it will show that Textboxes should not be empty . 
Now, enter the values into the Textboxes and then click the “DisplayTextBoxValues” Button.
Now, the values are displayed from the dynamically created Textboxes.
Here I have created the text boxes using C# in the code behind.
Note: Please let me know if you have any good approach to do this.

jake TanPosted Sep 15, 2016, 10:38 AM
Hi Keertti, I download and run your script(s) and I received a Parser Error: Could not load type 'CreatTextboxDynamically' in <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreatTextboxDynamically.aspx.cs" Inherits="CreatTextboxDynamically" %>
Manas MohapatraPosted Aug 7, 2015, 6:30 AM
Good One
Sibeesh VenuPosted Aug 4, 2015, 2:20 AM
Nice Share...
RakeshPosted Mar 17, 2015, 1:22 PM
Keep it up...Nice
Manish Kumar ChoudharyPosted Mar 17, 2015, 3:32 AM
Good one.
Rahul Kumar SaxenaPosted Mar 17, 2015, 2:09 AM
Good work...
Khargesh RajputPosted Mar 17, 2015, 1:12 AM
nice