This is a migrated thread and some comments may be shown as answers.

Repeater with web service class

0 Answers 97 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
vikas asked on 29 Oct 2010, 01:30 AM
Dear Telerik,

Can you please help me, I would like to bind repeater with the web service data.

I have Webservice called "WeBarterAus" in my WebReferences Folder

I have the function below done, but someting has missing and I couldn't figure out what it is.
So it not showing up the repeater at all.
<asp:Repeater ID="repTransHistory" runat="server" 
                    onitemdatabound="repTransHistory_ItemDataBound" >
                    <table style="border-width: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #d5d5d5; padding: 0px; margin: 0px; border-spacing: 0px; width: 100%;">
                    <td><b>Sale Amount<b></td>
                    <td><b>Bonus Points<b></td>
                    <td><b>Points Redeemed<b></td>
                <tr style="background-color: #FFFFFF">
                <tr><td colspan="5"></td></tr>
                <FooterTemplate><tr><td colspan="5" style="font-weight: bold; text-decoration: underline; font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #FF0000;">
                <table width="100%"><tr><td>Total Results:</td><td align="right">Last Updated: <asp:Label ID="lblLastUpdated" runat="server" Text=""></asp:Label></td></tr></table>
private void ShowResultInRepeater()
           string xmlReader = "";
           DataSet ds = new DataSet();
           WebbarterAUS.AUS MemberRewardHistory = new WebbarterAUS.AUS();
           xmlReader = MemberRewardHistory.RewardTransactionHistory("6220430100317744");
           repTransHistory.DataSource = xmlReader;

I hope anyone can help me with this.

Thank you

No answers yet. Maybe you can help?

Asked by
Top achievements
Rank 1
Share this question