使用C#在asp.net中安排图像显示时间和日期 [英] Scheduling an image display time and date in asp.net using c#

查看:57
本文介绍了使用C#在asp.net中安排图像显示时间和日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将具有到期时间的图像存储在数据库中,现在我只想显示直到到期时间的图像..我不知道要使用哪个函数来获取此图像.请帮助我提供编码示例.

I have stored images in database with expiration time in database, now i want to display images up to the expiration time only..i don''t know which function to apply for this to get.please help me with coding example.

推荐答案

如何从数据库中获取图像?

How do you get the image from the database?

SELECT Image
FROM Table
WHERE ExpireDate <= GETDATE()



找出来不是很困难



Not very difficult to figure out


这篇关于使用C#在asp.net中安排图像显示时间和日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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