Click here to Skip to main content
11,492,291 members (62,691 online)
Click here to Skip to main content

Object ByteArray Converter

, 17 Jun 2004 87.1K 1.7K 21
Rate this:
Please Sign up or sign in to vote.
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
<!-- Article Starts - DO NOT ADD HTML/BODY START TAGS--><!-- Download Links --> <!-- Add the rest of your HTML here -->

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

Share

About the Author

No Biography provided

Comments and Discussions

 
GeneralMy vote of 5 Pin
Don R. Davidson5-Dec-12 8:29
memberDon R. Davidson5-Dec-12 8:29 
QuestionProblem while converting Pin
Muneswar3-Oct-07 23:18
memberMuneswar3-Oct-07 23:18 
Generalproblem with some objects Pin
jag_Dalton22-Feb-07 3:00
memberjag_Dalton22-Feb-07 3:00 
GeneralRe: problem with some objects Pin
DrPhilz28-Jun-07 2:55
memberDrPhilz28-Jun-07 2:55 
GeneralHuge problem with the methods Pin
Kasracer26-Jan-06 2:38
memberKasracer26-Jan-06 2:38 
GeneralRe: Huge problem with the methods Pin
jigar_dotnet4-Apr-07 3:13
memberjigar_dotnet4-Apr-07 3:13 
QuestionConvert from object to byte array problem Pin
analyzer219-Jan-06 10:48
memberanalyzer219-Jan-06 10:48 
AnswerRe: Convert from object to byte array problem Pin
Kasracer26-Jan-06 2:40
memberKasracer26-Jan-06 2:40 
GeneralRe: Convert from object to byte array problem Pin
analyzer226-Jan-06 2:55
memberanalyzer226-Jan-06 2:55 
GeneralRe: Convert from object to byte array problem Pin
Kasracer31-Jan-06 0:37
memberKasracer31-Jan-06 0:37 
GeneralRe: Convert from object to byte array problem Pin
analyzer231-Jan-06 1:25
memberanalyzer231-Jan-06 1:25 
GeneralRe: Convert from object to byte array problem Pin
donjefe3-Aug-06 15:54
memberdonjefe3-Aug-06 15:54 
Generalnice one! Pin
CodeGimp27-Jun-05 0:23
memberCodeGimp27-Jun-05 0:23 
QuestionArticle justified? Pin
jmw18-Jun-04 3:16
memberjmw18-Jun-04 3:16 
AnswerRe: Article justified? Pin
Tamer Ahmed Farrag18-Jun-04 3:47
memberTamer Ahmed Farrag18-Jun-04 3:47 
GeneralI update the article Pin
Tamer Ahmed Farrag18-Jun-04 0:54
memberTamer Ahmed Farrag18-Jun-04 0:54 
QuestionWhy this way? Pin
mav.northwind17-Jun-04 21:19
membermav.northwind17-Jun-04 21:19 
AnswerRe: Why this way? Pin
Tamer Ahmed Farrag17-Jun-04 22:42
memberTamer Ahmed Farrag17-Jun-04 22:42 
GeneralRe: Why this way? Pin
mav.northwind17-Jun-04 23:08
membermav.northwind17-Jun-04 23:08 
GeneralRe: Why this way? Pin
jmw18-Jun-04 3:11
memberjmw18-Jun-04 3:11 
GeneralRe: Why this way? Pin
Mihies19-Jun-04 4:28
sussMihies19-Jun-04 4:28 
GeneralRe: Why this way? Pin
jmw19-Jun-04 5:16
memberjmw19-Jun-04 5:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150520.1 | Last Updated 18 Jun 2004
Article Copyright 2004 by Tamer Ahmed Farrag
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid