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

推荐订阅源

V
V2EX
P
Proofpoint News Feed
D
DataBreaches.Net
C
Check Point Blog
L
LangChain Blog
量子位
美团技术团队
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
N
Netflix TechBlog - Medium
V
Visual Studio Blog
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42
腾讯CDC
M
MIT News - Artificial intelligence
Microsoft Azure Blog
Microsoft Azure Blog
Blog — PlanetScale
Blog — PlanetScale

博客园 - 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>