C# crystal report询问登录信息?

C# crystal report询问登录信息?,c#,winforms,crystal-reports,dataset,C#,Winforms,Crystal Reports,Dataset,我有crystal report dynamicdatasource我只使用dataset来设计它 加载报表时,请求使用服务器名mydatasetname而不是我的服务器名提供登录信息 这是我的密码 TechTouch_Point.Reports.Invoice cryRpt = new Reports.Invoice(); string n = ((BillNumbertoshow)Owner).billnum; service.BillViewService bvs = new servic

我有crystal report dynamic
datasource
我只使用
dataset
来设计它 加载报表时,请求使用服务器名my
dataset
name而不是我的服务器名提供登录信息 这是我的密码

TechTouch_Point.Reports.Invoice cryRpt = new Reports.Invoice();
string n = ((BillNumbertoshow)Owner).billnum;
service.BillViewService bvs = new service.BillViewService();
db.BillView bv = new db.BillView();
List<db.BillView> billlist = new List<db.BillView>();
billlist = bvs.GetPaged("InvNo="+n, null, 0, 10000, out x).ToList();
crystalReportViewer1.ReportSource = cryRpt;
cryRpt.SetDataSource(billlist);
TechTouch_Point.Reports.Invoice cryRpt=new Reports.Invoice();
字符串n=((BillNumbertoshow)Owner.billnum;
service.BillViewService bvs=新服务.BillViewService();
db.BillView bv=新的db.BillView();
List billlist=新列表();
billlist=bvs.GetPaged(“InvNo=“+n,null,0,10000,out x”).ToList();
crystalReportViewer1.ReportSource=cryRpt;
crypt.SetDataSource(billlist);
我确信列表会得到正确的数据


您可以使报表数据源=数据集
并发送列表

我知道问题所在,我将报表数据源定义为(数据集),并尝试为其发送(列表):D