惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
人人都是产品经理
人人都是产品经理
IT之家
IT之家
T
The Blog of Author Tim Ferriss
V
V2EX
博客园 - 聂微东
The Cloudflare Blog
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
U
Unit 42
Vercel News
Vercel News
L
LangChain Blog
博客园 - 司徒正美
H
Help Net Security
Recent Announcements
Recent Announcements
Recorded Future
Recorded Future
V
Visual Studio Blog
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
Y
Y Combinator Blog
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
B
Blog RSS Feed
F
Fortinet All Blogs
B
Blog
G
Google Developers Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
爱范儿
爱范儿
MongoDB | Blog
MongoDB | Blog
F
Full Disclosure
有赞技术团队
有赞技术团队
罗磊的独立博客
博客园_首页
MyScale Blog
MyScale Blog
aimingoo的专栏
aimingoo的专栏
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
N
Netflix TechBlog - Medium
Engineering at Meta
Engineering at Meta
量子位
I
InfoQ
小众软件
小众软件
P
Proofpoint News Feed

博客园 - hi-justin

O.O 一次蛮搞笑的面试 为什么老是这么忙呢? 祝自己生日快乐:) 反省一下 实现了一个一直以来梦想 Time 如何用正确的方法来写出质量好的软件的75条体会[收藏] 還有一塊錢哪去了? 爆強ERP Never forget :) 終於可以稍微輕松一下了 遇到這種問題,你會怎麼做? 美好的一天,耶 [備忘]用於分解字符串的自定義函數 寫下來,免得下次又忘了 小記一下 過梅林海關的幾次有趣經歷
[備忘]动态显示图片
hi-justin · 2004-11-20 · via 博客园 - hi-justin

<%@ Page Language="c#" AutoEventWireup="true"%>
<%@ Import Namespace="System.IO" %>
<script language="c#" runat="server">
protected void Page_Load(object sender, EventArgs e)
{
    FileStream oFileStream;
    
long lFileSize = 0;
    oFileStream 
= new FileStream(Server.MapPath("/010.gif"), FileMode.Open);
    lFileSize 
= oFileStream.Length;

    
byte[] bBuffer = new byte[(int)lFileSize];
    oFileStream.Read(bBuffer, 
0, (int)lFileSize);
    oFileStream.Close();
    Response.ClearContent();
    Response.ContentType 
= "image/gif";
    Response.BinaryWrite(bBuffer);
    oFileStream.Close();
    Response.End();
}

</script>