在Windows窗体中显示查询驱动的图像 [英] displaying query driven image in windows form

查看:65
本文介绍了在Windows窗体中显示查询驱动的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理电子目录(Windows窗体),我必须将查询驱动的图像显示到sql server 2005数据库的图片框中.该图像应具有旋转,放大和缩小功能,并且必须是窗体上的导航控件,以便用户可以从一个记录导航到另一个记录.到目前为止,我已经能够成功地将值从我的第一种形式发送到第二种形式,并在dataGridView中显示查询驱动的结果,但是不确定是否有显示图像的最佳方法.有什么方法可以使用水晶报表显示此表单,因为它具有用于导航记录的内置功能..thankyou

最好的问候

i am working on an e-catalogue (windows Form),I have to display a query driven image into a picture box from sql server 2005 database.the image should have rotate, zoom in and zoom out functions plus there has to be a navigation control on the form so the user can navigate from one record to another. so far am successfully able to send value from my first form to the second form and displaying the query driven result in the dataGridView but am not sure for the best way to display the image . is there any way i can display this form using crystal reports because it has built in function for navigating records ..thankyou

Best Regards

推荐答案

1)创建一个具有所有业务逻辑的存储过程,以返回图像代码.
2)将此存储过程绑定到Crystal Report
1) Make one stored procedure which have all your business logic to to return image code.
2) bind this stored procedure to crystal report


这篇关于在Windows窗体中显示查询驱动的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆