Click here to Skip to main content
12,823,823 members (58,454 online)
   

C#

 
AnswerRe: Disabling button not working Pin
Ravi Bhavnani11-Oct-12 9:47
memberRavi Bhavnani11-Oct-12 9:47 
QuestionC# SNMP Printer! HELPPP! Pin
alexalexalex190711-Oct-12 5:22
memberalexalexalex190711-Oct-12 5:22 
AnswerRe: C# SNMP Printer! HELPPP! Pin
Eddy Vluggen11-Oct-12 5:44
memberEddy Vluggen11-Oct-12 5:44 
AnswerRe: C# SNMP Printer! HELPPP! Pin
Wes Aday11-Oct-12 5:46
memberWes Aday11-Oct-12 5:46 
AnswerRe: C# SNMP Printer! HELPPP! Pin
jschell11-Oct-12 9:55
memberjschell11-Oct-12 9:55 
AnswerRe: C# SNMP Printer! HELPPP! Pin
alexalexalex190711-Oct-12 21:31
memberalexalexalex190711-Oct-12 21:31 
AnswerRe: C# SNMP Printer! HELPPP! Pin
Marco Bertschi12-Oct-12 5:57
memberMarco Bertschi12-Oct-12 5:57 
QuestionStoring and retrieving objects inside databse Pin
A-M-S-S11-Oct-12 5:08
memberA-M-S-S11-Oct-12 5:08 
Hi
i want to store and retrieve objects of any kind to SQL server database, i did the following, inside the database table, i had created a field of type varbinary(MAX),
and in the code, i had made the following to store the object

object treatment = dataGridViewDrugList.Rows;
MemoryStream memStream = new MemoryStream();
StreamWriter sw = new StreamWriter(memStream);
sw.Write(treatment);
dataRow[0] = memStream.GetBuffer();


and it was successful,
now i am not able to retrieve the object back
any ideas?

modified 11-Oct-12 10:32am.

AnswerRe: Storing and retrieving objects inside databse Pin
Eddy Vluggen11-Oct-12 5:43
memberEddy Vluggen11-Oct-12 5:43 
GeneralRe: Storing and retrieving objects inside databse Pin
A-M-S-S11-Oct-12 8:06
memberA-M-S-S11-Oct-12 8:06 
GeneralRe: Storing and retrieving objects inside databse Pin
Eddy Vluggen11-Oct-12 10:59
memberEddy Vluggen11-Oct-12 10:59 
GeneralRe: Storing and retrieving objects inside databse Pin
A-M-S-S14-Oct-12 3:54
memberA-M-S-S14-Oct-12 3:54 
Question3 tier architecture Pin
tannu dwivedi11-Oct-12 2:51
membertannu dwivedi11-Oct-12 2:51 
AnswerRe: 3 tier architecture Pin
Wes Aday11-Oct-12 3:25
memberWes Aday11-Oct-12 3:25 
AnswerRe: 3 tier architecture Pin
Eddy Vluggen11-Oct-12 5:47
memberEddy Vluggen11-Oct-12 5:47 
AnswerRe: 3 tier architecture Pin
CptSupermrkt11-Oct-12 17:26
memberCptSupermrkt11-Oct-12 17:26 
QuestionInjection Pin
ALIJavany11-Oct-12 2:24
memberALIJavany11-Oct-12 2:24 
AnswerRe: Injection Pin
J4amieC11-Oct-12 2:30
memberJ4amieC11-Oct-12 2:30 
GeneralRe: Injection Pin
ALIJavany11-Oct-12 9:37
memberALIJavany11-Oct-12 9:37 
AnswerRe: Injection Pin
Eddy Vluggen11-Oct-12 2:30
memberEddy Vluggen11-Oct-12 2:30 
AnswerRe: Injection Pin
Abhinav S11-Oct-12 21:57
mvpAbhinav S11-Oct-12 21:57 
AnswerRe: Injection Pin
KiranKumar Roy14-Oct-12 2:20
memberKiranKumar Roy14-Oct-12 2:20 
QuestionOpacity Pin
ALIJavany11-Oct-12 2:21
memberALIJavany11-Oct-12 2:21 
AnswerRe: Opacity Pin
J4amieC11-Oct-12 2:30
memberJ4amieC11-Oct-12 2:30 
AnswerRe: Opacity Pin
Eddy Vluggen11-Oct-12 2:31
memberEddy Vluggen11-Oct-12 2:31 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 27 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid