Click here to Skip to main content
15,039,470 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
if (e.CommandName == "AddLBtn")
{
                objdc.MemberName1 = ((TextBox)AuditReportDetailsGv.FooterRow.FindControl("MemberNameFTxt")).Text;
                objdc.MemberId = ((TextBox)AuditReportDetailsGv.FooterRow.FindControl("MemberIdFtxt")).Text;
}

i am taking value like this but i am getting null value when i am inserting the values.
actually my need is i have to insert the new row in the grid and it should reflect in the grid .

can anyone help me?
Posted
Updated 8-Oct-10 1:11am
v3
Comments
NMehta83 8-Oct-10 7:00am
   
Why you search control from footer row?
Adding new row in the last line is not the footer row.
Can you provide your aspx page code?
m@dhu 8-Oct-10 7:13am
   
minor edit for grammar.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900