i have registration form (like any job site) which have 4 rows for providing eduction detail. i want to provide 5th row when user click on more info button dynamically.
in asp.net
Loading
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
shilpi gupta44 reputationPosted Jul 11, 2010, 3:41 AM EDT
its dynamically add row in application form. i think its done by javascript.
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted Jul 11, 2010, 3:55 AM EDT
Tell me something.....
What type of rows you are talking about, like table row, field row, paragraph row?
I think you want to display some information to user while filling the form, then remember it can be done by using following things: javascript popups, open new page, silverlight, blend, etc. There are lots of ways to make it possible. It totally depend on what your expertise is?
Understand !
vipin saini87 reputationPosted Jul 11, 2010, 10:10 PM EDT
shilpi gupta44 reputationPosted Jul 14, 2010, 1:53 AM EDT
for exmaple a user fill a 1 row his 10th class info,
2row his 12th class info
3row his BSC info
4 row his MSc info
i want when user click on +sign button , a new row genrate
when user click on -sign button , a new genrate row delete.
user can genrate/delete any no of row on click
.
Raghavendra URank #1,371 · 1.2K reputationPosted Jul 14, 2010, 3:45 AM EDT
{
DataSet RDs = new DataSet();
try
{
DataTable dt;
DataRow dr;
int i;
dt = RDs.Tables["temp"];
dt.Columns.Add("Slno");
k = Convert.ToInt16(ViewState["cnt"]);
for (i = 0; i < k + 1; i++)
{
dr = RDs.Tables["temp"].NewRow();
dr["Slno"] = i + 1;
RDs.Tables["temp"].Rows.Add(dr);
}
}
catch (Exception ex)
{
throw ex;
}
return RDs;
}
{
GVItems.DataSource = AddRow();
GVItems.DataBind();
ViewState["cnt"] = GVItems.Rows.Count;
}
}