Converting byte array into string

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2008
Posts: 52
Reputation: brightline is an unknown quantity at this point 
Solved Threads: 0
brightline brightline is offline Offline
Junior Poster in Training

Converting byte array into string

 
0
  #1
Apr 17th, 2008
I had stored a word file in database in "image field"
then I restore it in a byte array.
I want to convert this byte array into string to write it on the web page.

I am using ASP.NET 0.2 and SQL 2005.

thanks.
Last edited by brightline; Apr 17th, 2008 at 6:57 am.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 437
Reputation: Fungus1487 is on a distinguished road 
Solved Threads: 50
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Pro in Training

Re: Converting byte array into string

 
0
  #2
Apr 17th, 2008
Originally Posted by brightline View Post
I had stored a word file in database in "image field"
then I restore it in a byte array.
I want to convert this byte array into string to write it on the web page.

I am using ASP.NET 0.2 and SQL 2005.

thanks.
  1. System.Text.Encoding.GetString(byte())
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 3
Reputation: tranphong is an unknown quantity at this point 
Solved Threads: 0
tranphong tranphong is offline Offline
Newbie Poster

Create WebUserControl using template control

 
0
  #3
Apr 18th, 2008
How to create WebUserControl using template control that when is used in aspx, which can raise event of controls?
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 3
Reputation: tranphong is an unknown quantity at this point 
Solved Threads: 0
tranphong tranphong is offline Offline
Newbie Poster

Re: Converting byte array into string

 
0
  #4
Apr 18th, 2008
hello
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 437
Reputation: Fungus1487 is on a distinguished road 
Solved Threads: 50
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Pro in Training

Re: Converting byte array into string

 
0
  #5
Apr 18th, 2008
hello
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC