User-86041214 posted
Hi:
I meet a problem when design a dataset of rdlc.
The followng is the code snippet I used
namespace LibraryDataSet
{
/// <summary>
///DataSet Format
/// </summary>
[Serializable]
public class FRATData
{
public string ID{ get; set; }
public string ProductID{ get; set; }
public string ProductName{ get; set; }
public string Address{ get; set; }
public string OrderID{ get; set; }
}
}
When I open a new *.rdlc file , and add new dataset, I add an reference of above namespace to my project, and then , the vs2012
seems not get the dataset of upper namespace. It seems strange, and I dno't know why.
My project is created by VS2012, and it is web project, *.aspx.
When I create rdlc report, and hope to add dataset, the dataset will not include the above namespace, even when I
choose a Data Source Type, there is not any option for object, so it can not load dataset from namespace,
or library.Is there any way or data the solve the problem
thanks a lot.