Click here to Skip to main content
15,907,281 members
Home / Discussions / C#
   

C#

 
GeneralHandle Count Increasing Pin
sameerhanda30-Mar-05 10:13
sameerhanda30-Mar-05 10:13 
GeneralSupress redraw Pin
johanhertz30-Mar-05 9:10
johanhertz30-Mar-05 9:10 
GeneralRe: Supress redraw Pin
Tom Larsen30-Mar-05 10:34
Tom Larsen30-Mar-05 10:34 
GeneralA problem of RichTextBox Pin
sssa200030-Mar-05 7:57
sssa200030-Mar-05 7:57 
GeneralRe: A problem of RichTextBox Pin
Judah Gabriel Himango30-Mar-05 8:38
sponsorJudah Gabriel Himango30-Mar-05 8:38 
GeneralRe: A problem of RichTextBox Pin
Anonymous30-Mar-05 9:07
Anonymous30-Mar-05 9:07 
GeneralRe: A problem of RichTextBox Pin
Pyro Joe30-Mar-05 12:02
Pyro Joe30-Mar-05 12:02 
Questionhow to convert a object to a byte array byte[] Pin
we_swati30-Mar-05 7:43
we_swati30-Mar-05 7:43 
HI

My problem is that I am reading a image field from the database table .
then I need to Convert that image field value into a byte[] .
dread = sqlcomm.ExecuteReader();
sqlcomm = new SqlCommand("getCont1" ,sqlconn);
sqlcomm.CommandType = CommandType.StoredProcedure;
dread = sqlcomm.ExecuteReader();
while ( dread.Read())
{ temp= (dread.GetValue(0));

}

this "temp" var store the image field value as object .

now i need to convert this object into byte[] as i have to pass it to a function which take byte[] as parameter.
what I need to do ?

thanks
ss


thanks
AnswerRe: how to convert a object to a byte array byte[] Pin
turbochimp30-Mar-05 9:06
turbochimp30-Mar-05 9:06 
AnswerRe: how to convert a object to a byte array byte[] Pin
felopater30-Mar-05 9:25
felopater30-Mar-05 9:25 
GeneralUrlDownloadToCacheFile() to cache url (in C#) Pin
Sidemove30-Mar-05 7:38
Sidemove30-Mar-05 7:38 
GeneralXML Serializer Help Pin
30-Mar-05 7:09
suss30-Mar-05 7:09 
GeneralRe: XML Serializer Help Pin
Gavin Coates30-Mar-05 7:13
Gavin Coates30-Mar-05 7:13 
Generalwindows authentification in webforms Pin
Joshua Lunsford30-Mar-05 5:00
Joshua Lunsford30-Mar-05 5:00 
GeneralRe: windows authentification in webforms Pin
Colin Angus Mackay30-Mar-05 5:43
Colin Angus Mackay30-Mar-05 5:43 
GeneralRe: windows authentification in webforms Pin
Joshua Lunsford4-Apr-05 4:24
Joshua Lunsford4-Apr-05 4:24 
GeneralList of stored procedures in Access Pin
Chals30-Mar-05 4:33
Chals30-Mar-05 4:33 
GeneralRe: List of stored procedures in Access Pin
cobyjone30-Mar-05 4:59
cobyjone30-Mar-05 4:59 
GeneralRe: List of stored procedures in Access Pin
Chals30-Mar-05 5:33
Chals30-Mar-05 5:33 
GeneralRe: List of stored procedures in Access Pin
cobyjone30-Mar-05 7:13
cobyjone30-Mar-05 7:13 
GeneralRe: List of stored procedures in Access Pin
J4amieC30-Mar-05 9:27
J4amieC30-Mar-05 9:27 
GeneralRe: List of stored procedures in Access Pin
Chals30-Mar-05 10:46
Chals30-Mar-05 10:46 
QuestionListView SelectIndex? Pin
Skrekkur330-Mar-05 4:31
Skrekkur330-Mar-05 4:31 
AnswerRe: ListView SelectIndex? Pin
turbochimp30-Mar-05 6:18
turbochimp30-Mar-05 6:18 
Generalal.exe utility Pin
cobyjone30-Mar-05 4:13
cobyjone30-Mar-05 4:13 

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

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