<asp:DataList ID="Rp” runat="server" RepeatColumns=2 RepeatDirection=Horizontal>
<ItemTemplate>CompanyName: <%#Eval("Companyname") %><br/>
Address : <%#Eval("Address") %><br />
City: <%#Eval("City") %><br />
PinCode: <%#Eval("Pincode") %>
</
ItemTemplate></
asp:DataList>
in codbehind
rep.datasource=ds;
rep.Databind();
No comments :
Post a Comment