Posted on: 5/10/2011 4:59:11 AM | Views : 242

Hi
Can anyone help with the following code, if i put a breakpoint on: return CurrencyData; it only displays the data from CurrencyData.
If i put a breakpoint on CurrencyRate.Add(GetCurrencyRate); it only display 1 record.
So my question is does anyone know how to return all data for CurrencyRate and add that to return CurrencyData

My Code:
 
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Configuration; using System.Data.SqlClient; using System.Data; using Web.Domain.Models.Currency.Entities; using Web.Domain.Models.Currency.Abstract; namespace Web.Domain.Models.Currency.Concrete { public class CurrencyRepository : ICurrencyRepository { private string dbConn; public CurrencyRepository() { dbConn = ConfigurationManager.ConnectionStrings["Loca ...

Go to the complete details ...