Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
my add row code is working but delete row code is not work
SAIRAJ MORE
Nov 7 2016 10:38 PM
201
Reply
my add row code is working but delete row code is not work so please help me..?
protected void btnAddRowNonTaxRevenue_Click(object sender, EventArgs e)
{
for (int i = 2; i < 11; i++)
{
HtmlTableRow tr = ((HtmlTableRow)this.FindControl("ntrNTR" + i));
if (tr.Visible == false)
{
tr.Visible = true;
break;
}
}
}
protected void btnRemoveRowTaxRevenue_Click(object sender, EventArgs e)
{
for (int i = 2; i > 11; i++)
{
HtmlTableRow tr = ((HtmlTableRow)this.FindControl("trTR" + i));
if (tr.Visible == false)
{
tr.Visible = false;
break;
}
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Draw a path between multiple points with help of Database
How to upload a video to aws with ftp connection?