Click here to Skip to main content
6,292,426 members and growing! (10,091 online)
Email Password   helpLost your password?
Database » Database » General     Intermediate

Object ByteArray Converter

By Tamer Ahmed Farrag

this dll help users to convert between any object and byte array which will be very useful when using to insert objects into a DataBase
C#, VB.NET 1.0, .NET 1.1, Win2K, WinXP, Win2003, ASP.NET, VS.NET2003, DBA, Dev
Posted:17 Jun 2004
Views:57,135
Bookmarked:10 times
Unedited contribution
Announcements
Loading...
 
Search    
Advanced Search
printPrint   Broken Article?Report       add Share
  Discuss Discuss   Recommend Article Email
22 votes for this article.
Popularity: 3.38 Rating: 2.52 out of 5
12 votes, 54.5%
1
1 vote, 4.5%
2

3
2 votes, 9.1%
4
7 votes, 31.8%
5

Introduction

this dll help users to convert between any object and byte array which will be very useful when using to insert objects into a DataBase.(specialy images)

it contain two main methods

ObjectToByteArray:

       which accept an object and return array of bytes .

ByteArrayToObject:

      which accept an array of bytes and return object.

why I make this dll?

I need in a project on automatic exam system in my work (Scientific calculation Center,Mansoura University,Egypt) to insert into database an custum object of exam data.

I'm sure that I can find a solution to this problem by add Exam Details table to my dataBase

but I hope to  use the first strategy ,So I make it.

keywords

Database,converter,image,byte array

      

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Tamer Ahmed Farrag


Member

Location: Egypt Egypt

Other popular Database articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 21 of 21 (Total in Forum: 21) (Refresh)FirstPrevNext
QuestionProblem while converting PinmemberMuneswar23:18 3 Oct '07  
Generalproblem with some objects Pinmemberjag_Dalton3:00 22 Feb '07  
GeneralRe: problem with some objects PinmemberDrPhilz2:55 28 Jun '07  
GeneralHuge problem with the methods PinmemberKasracer2:38 26 Jan '06  
GeneralRe: Huge problem with the methods Pinmemberjigar_dotnet3:13 4 Apr '07  
QuestionConvert from object to byte array problem Pinmemberanalyzer210:48 19 Jan '06  
AnswerRe: Convert from object to byte array problem PinmemberKasracer2:40 26 Jan '06  
GeneralRe: Convert from object to byte array problem Pinmemberanalyzer22:55 26 Jan '06  
GeneralRe: Convert from object to byte array problem PinmemberKasracer0:37 31 Jan '06  
GeneralRe: Convert from object to byte array problem Pinmemberanalyzer21:25 31 Jan '06  
GeneralRe: Convert from object to byte array problem Pinmemberdonjefe15:54 3 Aug '06  
Generalnice one! PinmemberCodeGimp0:23 27 Jun '05  
GeneralArticle justified? Pinmemberjmw3:16 18 Jun '04  
GeneralRe: Article justified? PinmemberTamer Ahmed Farrag3:47 18 Jun '04  
GeneralI update the article PinmemberTamer Ahmed Farrag0:54 18 Jun '04  
GeneralWhy this way? Pinmembermav.northwind21:19 17 Jun '04  
GeneralRe: Why this way? PinmemberTamer Ahmed Farrag22:42 17 Jun '04  
GeneralRe: Why this way? Pinmembermav.northwind23:08 17 Jun '04  
GeneralRe: Why this way? Pinmemberjmw3:11 18 Jun '04  
GeneralRe: Why this way? PinsussMihies4:28 19 Jun '04  
GeneralRe: Why this way? Pinmemberjmw5:16 19 Jun '04  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 17 Jun 2004
Editor:
Copyright 2004 by Tamer Ahmed Farrag
Everything else Copyright © CodeProject, 1999-2009
Web13 | Advertise on the Code Project