水晶报表,登陆失败 问题 我之前已经把水晶报表需要的数据集dataset保存到session中,显示报表的时候,直接设置rpt.DataSource = ds.Tables但是显示 登陆失败 的提示 ???这里应该不要连接数据库了吧? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 rpt.DataSource = ds.Tables[0] ????????? help me !!! public static void LoadCrytReptView(ref DataSet DSet, string repDocumentPath, RepDocumentEnum mRepDocumentEnum, ref CrystalDecisions.Web.CrystalReportViewer CryRepView) { //*****报表处理连接 ConnectionInfo connectionInfo = new ConnectionInfo(); connectionInfo.ServerName = ReadWebConfigNode("ServerName"); connectionInfo.DatabaseName = ReadWebConfigNode("DataBaseName"); connectionInfo.UserID = ReadWebConfigNode("UserID"); connectionInfo.Password = ReadWebConfigNode("Password"); //****构造一个报表文档 ReportDocument oRep = new ReportDocument(); switch (mRepDocumentEnum) { //*****加载系统用户报表 case RepDocumentEnum.SystemUserRetDocument: oRep.Load(repDocumentPath); oRep.SetDataSource(DSet.Tables[0]); break; //*****加载部门报表 case RepDocumentEnum.DeptNameRetDocument: oRep.Load(repDocumentPath); oRep.SetDataSource(DSet.Tables[0]); break; //****加载在线订单报表 case RepDocumentEnum.OnLinOrderRetDocumnet: oRep.Load(repDocumentPath); oRep.SetDataSource(DSet.Tables[0]); break; //****其它报表 case RepDocumentEnum.OtherRepDocument: oRep.Load(repDocumentPath); oRep.SetDataSource(DSet.Tables[0]); break; } CryRepView.ReportSource = oRep; SetDBLogonForRetot(ref connectionInfo, ref oRep); } 如何截取URL中的一部分? 怎么获取a标签里面的href 如何实现不同的颜色控制 我是应用在asp程序里 获取一个<a>标签到下个<a>标签的所以内容 有关asp.net ajax的问题请教大家? 老师请教一下。 提一个比较弱的问题,关于框架的。 高手指教------如何实现受权下载? 哪里有用.net开发的图片管理系统 ?? Httpcontext 请求上下文 怎么转发此请求 急急急急急急急急,datalist的itemcommand问题 谁能给个asp2.0中callback机制中 有个客户端函数,包含context参数的那个context的用法?
{
//*****报表处理连接
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = ReadWebConfigNode("ServerName");
connectionInfo.DatabaseName = ReadWebConfigNode("DataBaseName");
connectionInfo.UserID = ReadWebConfigNode("UserID");
connectionInfo.Password = ReadWebConfigNode("Password"); //****构造一个报表文档
ReportDocument oRep = new ReportDocument(); switch (mRepDocumentEnum)
{
//*****加载系统用户报表
case RepDocumentEnum.SystemUserRetDocument:
oRep.Load(repDocumentPath);
oRep.SetDataSource(DSet.Tables[0]);
break;
//*****加载部门报表
case RepDocumentEnum.DeptNameRetDocument:
oRep.Load(repDocumentPath);
oRep.SetDataSource(DSet.Tables[0]);
break;
//****加载在线订单报表
case RepDocumentEnum.OnLinOrderRetDocumnet:
oRep.Load(repDocumentPath);
oRep.SetDataSource(DSet.Tables[0]);
break;
//****其它报表
case RepDocumentEnum.OtherRepDocument:
oRep.Load(repDocumentPath);
oRep.SetDataSource(DSet.Tables[0]);
break;
} CryRepView.ReportSource = oRep;
SetDBLogonForRetot(ref connectionInfo, ref oRep);
}