Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Which template must you provide, in order to display data
in a Repeater control?

Answers were Sorted based on User's Feedback



Which template must you provide, in order to display data in a Repeater control? ..

Answer / sivasaravanan

ItemTemplate

Is This Answer Correct ?    6 Yes 0 No

Which template must you provide, in order to display data in a Repeater control? ..

Answer / rakhi

Itemtemplate defines how items or data in the Repeater
control are displayed.

Is This Answer Correct ?    3 Yes 0 No

Which template must you provide, in order to display data in a Repeater control? ..

Answer / anilkumar

Example for better idea

<asp:Repeater id="Repeater1" runat="server">
<HeaderTemplate>
<table cellpadding="5" cellspacing="2" >
<tr bgcolor=Gray>
<td><b>CustomerName</b></td>
<td><b>Country</b></td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td><%#
DataBinder.Eval(Container.DataItem,"CustomerName") %></td>
<td><%# DataBinder.Eval(Container.DataItem,"Country")
%></td>
</tr>
</ItemTemplate>
<AlternatingItemTemplate>
<tr bgcolor="#ccccff">
<td><%#
DataBinder.Eval(Container.DataItem,"CustomerName") %></td>
<td><%# DataBinder.Eval(Container.DataItem,"Country")
%></td>
</tr>
</AlternatingItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

Why web api is better than wcf?

0 Answers  


What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.

2 Answers   Syntax Softtech,


Which color scheme in a Repeater control can you provide alternatively?

1 Answers   Siebel,


In what order do the events of an ASPX page execute. As a developer, why is it important to understand these events?

5 Answers   Syntax Softtech, TCS,


What are the major differences between asp.net1.1 and asp.net 2.0?

8 Answers   CTS, Deloitte, Mphasis, Vison,


What are the major built-in objects in ASP.NET?

0 Answers   MindCracker,


Explain Apache web servers ? How can you get ASP.NET running in Apache web servers - why should you do this?

0 Answers   Siebel,


How to use one project files into another project?

4 Answers   HP,


What does uri mean?

0 Answers  


What is strong name and which tool is used for this ?

3 Answers   Patni,


Difference between Response.Expires and Expires.Absolute ?

1 Answers   Accenture, BirlaSoft,


Disable Mouse right click on web page in asp.net?

0 Answers   HCL,


Categories