Your Web form uses the following code to display data from a SQL Server 2005 database. What must you add to the _ItemBound event handler in order to access the value of the hlName HyperLink in a variable named var? ' />

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Your Web form uses the following code to display data from a SQL Server 2005 database. What must you add to the _ItemBound event handler in order to access the value of the hlName HyperLink in a variable named var? ' />

1.HyperLink var = e.Item.Parent.FindControl("hlName") as HyperLink;

2.HyperLink var = rptData.FindControl("hlName") as HyperLink;

3.HyperLink var = Page.FindControl("hlName") as HyperLink;

4.HyperLink var = e.Item.FindControl("hlName") as HyperLink;


More MCQS Questions and answers

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!