我有一个名为的类Letter
,它有 2 个公共属性Letter_Header
和Letter_Details
. 我已成功将 .Net Linq 对象绑定到 Crystal 报表,但是当我绑定此对象时,未检测到属性。如何将Letter_Header
和绑定Letter_Details
到报告?
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;
}