Devexpress Report Service 使用方法
2015-08-07 15:55
465 查看
这个工具就不用多说了,反正功能强大。
主要记录工作中遇到的问题解决方式,不在于宣传、传播!
在服务器端添加 Dev Report Service ,然后建立报表,这里不多说。
<add name="xpf.printing" connectionString="xpoprovider=MSSqlServer;data source=(localdb)\v11.0;Initial Catalog=D:\test.MDF;integrated security=True;connect timeout=120" />
连接字符串要改下
SL中客户端 调用代码如下:
void DevReportControl_Loaded(object sender, RoutedEventArgs e)
{
var mode = new ReportServicePreviewModel("../../StockReportService.svc"); //这个服务器的SVC地址
mode.ReportName = "LightSwitchApplication.StockListReport";//报表的全名称
this.documentViewer1.Model = mode;
documentViewer1.AutoCreateDocument = true;
}
主要记录工作中遇到的问题解决方式,不在于宣传、传播!
在服务器端添加 Dev Report Service ,然后建立报表,这里不多说。
<add name="xpf.printing" connectionString="xpoprovider=MSSqlServer;data source=(localdb)\v11.0;Initial Catalog=D:\test.MDF;integrated security=True;connect timeout=120" />
连接字符串要改下
SL中客户端 调用代码如下:
void DevReportControl_Loaded(object sender, RoutedEventArgs e)
{
var mode = new ReportServicePreviewModel("../../StockReportService.svc"); //这个服务器的SVC地址
mode.ReportName = "LightSwitchApplication.StockListReport";//报表的全名称
this.documentViewer1.Model = mode;
documentViewer1.AutoCreateDocument = true;
}
相关文章推荐
- (四) Basic Build Customization(基本的构建定制 :签名,构建,混淆)
- A1062 Talent and Virtue (25)
- 数据结构基础(23) --红黑树的设计与实现(中)
- requireJS使用
- (绝对有用)iOS获取UUID,并使用keychain存储
- CentOS安装Redis
- 设置HttpSendRequest阻塞时间
- codeforces 567C Geometric Progression
- 工作周记
- 【翻译】在Ext JS 6通用应用程序中使用既共享又特定于视图的代码
- 需要这样一个记事本-14 ReportViewer在多页报表情况下,每页都显示表格列表头
- 理解 Statement 和 PreparedStatement区别
- JNI调用遇到的问题
- ehcache memcache redis 三大缓存男高音
- 默认选中ext:GridPanel第一行数据
- HDU多赛学校9 HDU4969 Just a Joke 【数学积分】
- MFC CAD控制权问题
- net网站发布-允许更新此预编译站点 及修改发布后内容
- Php扫描目录学习记录
- 图结构练习——最小生成树