BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
Microsoft ASP
The Response.AppendToLog Method
The Response.AddHeader Method
The Response Object
The Request.TotalBytes Property
The Request.ServerVariables Property
The Request.QueryString Property
The Request.Form Property
The Request.Cookies Property
The Request.ClientCertification Property
The Request.BinaryRead Method
The Request Object
The ObjectContext.SetComplete Method
The ObjectContext.SetAbort Method
The ObjectContext.OnTransactionCommit Event
The ObjectContext.OnTransactionAbort Event
The ObjectContext Object
The Application.StaticObjects Collection
The Application.Contents Collection
The Application.UnLock Method
The Application.Lock Method
<< LAMP
 

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :1620

 

The Response.BinaryWrite Method

Introduction

The Response.BinaryWrite method can be used to write binary data. In conjunction to that you can use the BinaryRead method to read the binary data. For example the Binary Write method can be used to read an image from a database and display it in the browser. The following example shows how you can read an image from a dbase.

Example

<%

            Set objRS = objConn.Execute("SELECT Picture FROM TableName WHERE ID = 1")

            Response.ContentType = "image/gif"

            Response.BinaryWrite(objRS("Picture"))

%>


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

A great opportunity to Digital Vide
here is a greate opportunity as a S
A great opportunity as a Network En
A Greate Opportunituy as a SQL Deve
An immediate job opportunity as a B

View all Jobs (Add yours)
View all CV (Add yours)



Host Department NOLIMIT Web Hosting
Web Design Portfolio
soccer drills
Giorgio armani sunglasses
NY Pool Contractor
answering service
conference call
swimming pool builder
Teleconference
MSN
sunglasses


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP