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? ' />

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;

Posted Date:-2022-08-15 04:15:24


More MCQS Questions and answers

Search
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!