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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bhasker DasRank #227 · 11K reputationPosted Aug 4, 2014, 11:02 PM EDT
This link has everything what you want -
http://aspsnippets.com/Articles/Create-dynamic-textbox-using-JavaScript-in-ASP.Net.aspx
Thanks,
Bhasker
vijaya kumar9 reputationPosted Aug 4, 2014, 11:18 PM EDT
Khan Abrar AhmedRank #778 · 3K reputationPosted Aug 4, 2014, 11:22 PM EDT
http://www.aspdotnet-suresh.com/2012/07/aspnet-save-dynamically-created-control.html
vijaya kumar9 reputationPosted Aug 4, 2014, 11:32 PM EDT
Ankur JainRank #2,475 · 567 reputationPosted Aug 5, 2014, 12:12 AM EDT
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 kumar9 reputationPosted Aug 5, 2014, 12:44 AM EDT
Ankur JainRank #2,475 · 567 reputationPosted Aug 5, 2014, 2:02 AM EDT