Asp.net c# codeing answer needed immediately pls help me..
I create dynamic multiple textbox in html code using javascript how to save record in asp.net using c# code please help Sir .......
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ankur JainPosted Aug 5, 2014, 6:02 AM
vijaya kumarPosted Aug 5, 2014, 4:44 AM
Ankur JainPosted Aug 5, 2014, 4:12 AM
on this link clearly shows that how to get values from text box in c# ....take a look and please don't forget to mark it answer if your problem is solved...
http://aspsnippets.com/Articles/Create-dynamic-textbox-using-JavaScript-in-ASP.Net.aspx
use namespace:
using System.Web.Script.Serialization;
then create a method:
protected string Values;
protected void Post(object sender, EventArgs e)
{
string[] textboxValues = Request.Form.GetValues("DynamicTextBox");
JavaScriptSerializer serializer =new JavaScriptSerializer();
this.Values = serializer.Serialize(textboxValues);
}
here DynamicTextBox is the name of textbox
cs.page code:
Aspx page Code:
vijaya kumarPosted Aug 5, 2014, 3:32 AM
Khan Abrar AhmedPosted Aug 5, 2014, 3:22 AM
http://www.aspdotnet-suresh.com/2012/07/aspnet-save-dynamically-created-control.html
vijaya kumarPosted Aug 5, 2014, 3:18 AM
Bhasker DasPosted Aug 5, 2014, 3:02 AM
This link has everything what you want -
http://aspsnippets.com/Articles/Create-dynamic-textbox-using-JavaScript-in-ASP.Net.aspx
Thanks,
Bhasker