首页> 外文期刊>Active Server Developer's Journal >Leverage an HTTP handler to display database images in an ASP.NET DataList
【24h】

Leverage an HTTP handler to display database images in an ASP.NET DataList

机译:利用HTTP处理程序在ASP.NET DataList中显示数据库图像

获取原文
获取原文并翻译 | 示例

摘要

If you've created a website with ASP.NET, odds are you've had at least some exposure to ADO.NET, the new data access framework that lets you retrieve, display, and update information. Most ASP.NET developers have learned the basics of the core ADO.NET classes (Connections, Commands, DataSets, etc.). Using these objects, it'sfairly easy to design a web page that extracts information (such as a catalog of products) and displays it in a web page. But life isn't as straightforward if you need to interact with binary fields that contain image data. Retrieving this data in an ASP.NET web page is fairly easy, but displaying it isn't as simple. In this article, you'll learn how to translate the binary image data in your database into an image that you display in a web page, or even bind to one of .NET's data web controls.
机译:如果您使用ASP.NET创建了一个网站,那么您至少有一定机会接触过ADO.NET,它是一种新的数据访问框架,可让您检索,显示和更新信息。大多数ASP.NET开发人员都已经学习了ADO.NET核心类的基础知识(连接,命令,数据集等)。使用这些对象,设计一个提取信息(例如产品目录)并将其显示在网页中的网页非常容易。但是,如果您需要与包含图像数据的二进制字段进行交互,生活就不会那么简单。在ASP.NET网页中检索这些数据非常容易,但是显示起来却并非如此简单。在本文中,您将学习如何将数据库中的二进制图像数据转换为显示在网页中的图像,甚至绑定到.NET的数据Web控件之一。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号