How to display only first row in repeater control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • billakanti
    New Member
    • Sep 2010
    • 3

    How to display only first row in repeater control

    Hello all,

    In repeater Control how can i bind only selected row,
    i.e
    i have code like

    <%# DataBinder.Eval (Container, "DataItem.count ryName") %>
    here am displaying all the countrynames all i want to do is display only selected countryname ,yes if we write a command "select * from xyz where countryid=1" then we can select that particular table,but i want to bind it in
    <%# DataBinder.Eval (Container, "DataItem.Count ryName") %>
    i need to pass country name from here please suggest me

    Thanks
    S!
Working...