1
我有一個名爲Letter
的類,它有兩個公共屬性Letter_Header
和Letter_Details
。我已經成功綁定了一個.Net Linq對象到Crystal報告,但是當我綁定這個對象時,屬性沒有被檢測到。如何將Letter_Header
和Letter_Details
綁定到報告?將.Net對象綁定到Crystal Report未找到屬性
public class Letter
{
public Letter_Header _header;
public List<Letter_Details> _details;
public Letter()
{
}
}
public class Letter_Header
{
public Int32 ProductID;
public String ProductName;
public String BrokerName;
}
public class Letter_Details
{
public Int32 ID;
public Int32 PolicyID;
public Int32 PersonName;
public Decimal Amount;
public DateTime DateTime;
}