Click here to Skip to main content
   

C#

 
GeneralRe: Opinion on Exception PinmvpRichard MacCutchan12-Oct-12 9:54 
QuestionRe: Opinion on Exception PinmemberEddy Vluggen12-Oct-12 2:57 
QuestionDisabling button not working PinmemberMichCl11-Oct-12 9:13 
AnswerRe: Disabling button not working PinprotectorPete O'Hanlon11-Oct-12 9:21 
GeneralRe: Disabling button not working PinmemberMichCl15-Oct-12 3:24 
GeneralRe: Disabling button not working PinprotectorPete O'Hanlon15-Oct-12 3:26 
AnswerRe: Disabling button not working PinmemberRavi Bhavnani11-Oct-12 9:47 
QuestionC# SNMP Printer! HELPPP! Pinmemberalexalexalex190711-Oct-12 5:22 
AnswerRe: C# SNMP Printer! HELPPP! PinmemberEddy Vluggen11-Oct-12 5:44 
AnswerRe: C# SNMP Printer! HELPPP! PinmemberWes Aday11-Oct-12 5:46 
AnswerRe: C# SNMP Printer! HELPPP! Pinmemberjschell11-Oct-12 9:55 
AnswerRe: C# SNMP Printer! HELPPP! Pinmemberalexalexalex190711-Oct-12 21:31 
AnswerRe: C# SNMP Printer! HELPPP! PinmemberMarco Bertschi12-Oct-12 5:57 
QuestionStoring and retrieving objects inside databse [modified] PinmemberA-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 PinmemberEddy Vluggen11-Oct-12 5:43 
GeneralRe: Storing and retrieving objects inside databse PinmemberA-M-S-S11-Oct-12 8:06 
GeneralRe: Storing and retrieving objects inside databse PinmemberEddy Vluggen11-Oct-12 10:59 
GeneralRe: Storing and retrieving objects inside databse PinmemberA-M-S-S14-Oct-12 3:54 
Question3 tier architecture Pinmembertannu dwivedi11-Oct-12 2:51 
AnswerRe: 3 tier architecture [modified] PinmemberWes Aday11-Oct-12 3:25 
AnswerRe: 3 tier architecture PinmemberEddy Vluggen11-Oct-12 5:47 
AnswerRe: 3 tier architecture PinmemberCptSupermrkt11-Oct-12 17:26 
QuestionInjection PinmemberALIJavany11-Oct-12 2:24 
AnswerRe: Injection PinmemberJ4amieC11-Oct-12 2:30 
GeneralRe: Injection PinmemberALIJavany11-Oct-12 9:37 
AnswerRe: Injection PinmemberEddy Vluggen11-Oct-12 2:30 
AnswerRe: Injection PinmvpAbhinav S11-Oct-12 21:57 
AnswerRe: Injection PinmemberKiranKumar Roy14-Oct-12 2:20 
QuestionOpacity PinmemberALIJavany11-Oct-12 2:21 
AnswerRe: Opacity PinmemberJ4amieC11-Oct-12 2:30 
AnswerRe: Opacity PinmemberEddy Vluggen11-Oct-12 2:31 
GeneralRe: Opacity PinmemberSentenryu11-Oct-12 7:24 
GeneralRe: Opacity PinmemberEddy Vluggen11-Oct-12 11:02 
GeneralRe: Opacity PinmemberSentenryu15-Oct-12 1:06 
GeneralRe: Opacity PinprotectorPete O'Hanlon11-Oct-12 8:40 
AnswerRe: Opacity PinmvpDave Kreskowiak11-Oct-12 7:37 
QuestionFTP connection error 431 Pinmembernitin_ion10-Oct-12 18:54 
SuggestionRe: FTP connection error 431 PinmemberShameel11-Oct-12 2:05 
QuestionC# progam call second C# program Pinmemberdcof10-Oct-12 17:04 
AnswerRe: C# progam call second C# program PinmvpRichard MacCutchan10-Oct-12 22:48 
AnswerRe: C# progam call second C# program PinprotectorPete O'Hanlon10-Oct-12 23:21 
QuestionCitrix Session PinmemberArun Philip Reynolds10-Oct-12 9:30 
AnswerRe: Citrix Session PinmemberEddy Vluggen11-Oct-12 0:57 
QuestionEnumerate through the values of a enum PinmemberSentenryu10-Oct-12 8:38 
AnswerRe: Enumerate through the values of a enum PinmvpDave Kreskowiak10-Oct-12 9:01 
GeneralRe: Enumerate through the values of a enum PinmemberSentenryu10-Oct-12 9:18 
GeneralRe: Enumerate through the values of a enum PinmvpDave Kreskowiak10-Oct-12 9:29 
GeneralRe: Enumerate through the values of a enum PinmemberSentenryu10-Oct-12 9:55 
GeneralRe: Enumerate through the values of a enum PinmemberMr. Tapan Kumar10-Oct-12 10:47 
GeneralRe: Enumerate through the values of a enum PinmemberJ4amieC10-Oct-12 22:26 

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 | Mobile
Web04 | 2.8.150224.1 | Last Updated 1 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid