Click here to Skip to main content
12,297,803 members (53,712 online)
   

C#

 
GeneralRe: Opinion on Exception Pin
Richard MacCutchan12-Oct-12 8:54
mvpRichard MacCutchan12-Oct-12 8:54 
QuestionRe: Opinion on Exception Pin
Eddy Vluggen12-Oct-12 1:57
memberEddy Vluggen12-Oct-12 1:57 
QuestionDisabling button not working Pin
MichCl11-Oct-12 8:13
memberMichCl11-Oct-12 8:13 
AnswerRe: Disabling button not working Pin
Pete O'Hanlon11-Oct-12 8:21
protectorPete O'Hanlon11-Oct-12 8:21 
GeneralRe: Disabling button not working Pin
MichCl15-Oct-12 2:24
memberMichCl15-Oct-12 2:24 
GeneralRe: Disabling button not working Pin
Pete O'Hanlon15-Oct-12 2:26
protectorPete O'Hanlon15-Oct-12 2:26 
AnswerRe: Disabling button not working Pin
Ravi Bhavnani11-Oct-12 8:47
memberRavi Bhavnani11-Oct-12 8:47 
QuestionC# SNMP Printer! HELPPP! Pin
alexalexalex190711-Oct-12 4:22
memberalexalexalex190711-Oct-12 4:22 
AnswerRe: C# SNMP Printer! HELPPP! Pin
Eddy Vluggen11-Oct-12 4:44
memberEddy Vluggen11-Oct-12 4:44 
AnswerRe: C# SNMP Printer! HELPPP! Pin
Wes Aday11-Oct-12 4:46
memberWes Aday11-Oct-12 4:46 
AnswerRe: C# SNMP Printer! HELPPP! Pin
jschell11-Oct-12 8:55
memberjschell11-Oct-12 8:55 
AnswerRe: C# SNMP Printer! HELPPP! Pin
alexalexalex190711-Oct-12 20:31
memberalexalexalex190711-Oct-12 20:31 
AnswerRe: C# SNMP Printer! HELPPP! Pin
Marco Bertschi12-Oct-12 4:57
memberMarco Bertschi12-Oct-12 4:57 
QuestionStoring and retrieving objects inside databse Pin
A-M-S-S11-Oct-12 4:08
memberA-M-S-S11-Oct-12 4: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 4:43
memberEddy Vluggen11-Oct-12 4:43 
GeneralRe: Storing and retrieving objects inside databse Pin
A-M-S-S11-Oct-12 7:06
memberA-M-S-S11-Oct-12 7:06 
GeneralRe: Storing and retrieving objects inside databse Pin
Eddy Vluggen11-Oct-12 9:59
memberEddy Vluggen11-Oct-12 9:59 
GeneralRe: Storing and retrieving objects inside databse Pin
A-M-S-S14-Oct-12 2:54
memberA-M-S-S14-Oct-12 2:54 
Question3 tier architecture Pin
tannu dwivedi11-Oct-12 1:51
membertannu dwivedi11-Oct-12 1:51 
AnswerRe: 3 tier architecture Pin
Wes Aday11-Oct-12 2:25
memberWes Aday11-Oct-12 2:25 
AnswerRe: 3 tier architecture Pin
Eddy Vluggen11-Oct-12 4:47
memberEddy Vluggen11-Oct-12 4:47 
AnswerRe: 3 tier architecture Pin
CptSupermrkt11-Oct-12 16:26
memberCptSupermrkt11-Oct-12 16:26 
QuestionInjection Pin
ALIJavany11-Oct-12 1:24
memberALIJavany11-Oct-12 1:24 
AnswerRe: Injection Pin
J4amieC11-Oct-12 1:30
memberJ4amieC11-Oct-12 1:30 
GeneralRe: Injection Pin
ALIJavany11-Oct-12 8:37
memberALIJavany11-Oct-12 8:37 
AnswerRe: Injection Pin
Eddy Vluggen11-Oct-12 1:30
memberEddy Vluggen11-Oct-12 1:30 
AnswerRe: Injection Pin
Abhinav S11-Oct-12 20:57
mvpAbhinav S11-Oct-12 20:57 
AnswerRe: Injection Pin
KiranKumar Roy14-Oct-12 1:20
memberKiranKumar Roy14-Oct-12 1:20 
QuestionOpacity Pin
ALIJavany11-Oct-12 1:21
memberALIJavany11-Oct-12 1:21 
AnswerRe: Opacity Pin
J4amieC11-Oct-12 1:30
memberJ4amieC11-Oct-12 1:30 
AnswerRe: Opacity Pin
Eddy Vluggen11-Oct-12 1:31
memberEddy Vluggen11-Oct-12 1:31 
GeneralRe: Opacity Pin
Sentenryu11-Oct-12 6:24
memberSentenryu11-Oct-12 6:24 
GeneralRe: Opacity Pin
Eddy Vluggen11-Oct-12 10:02
memberEddy Vluggen11-Oct-12 10:02 
GeneralRe: Opacity Pin
Sentenryu15-Oct-12 0:06
memberSentenryu15-Oct-12 0:06 
GeneralRe: Opacity Pin
Pete O'Hanlon11-Oct-12 7:40
protectorPete O'Hanlon11-Oct-12 7:40 
AnswerRe: Opacity Pin
Dave Kreskowiak11-Oct-12 6:37
mvpDave Kreskowiak11-Oct-12 6:37 
QuestionFTP connection error 431 Pin
nitin_ion10-Oct-12 17:54
membernitin_ion10-Oct-12 17:54 
SuggestionRe: FTP connection error 431 Pin
Shameel11-Oct-12 1:05
memberShameel11-Oct-12 1:05 
QuestionC# progam call second C# program Pin
dcof10-Oct-12 16:04
memberdcof10-Oct-12 16:04 
AnswerRe: C# progam call second C# program Pin
Richard MacCutchan10-Oct-12 21:48
mvpRichard MacCutchan10-Oct-12 21:48 
AnswerRe: C# progam call second C# program Pin
Pete O'Hanlon10-Oct-12 22:21
protectorPete O'Hanlon10-Oct-12 22:21 
QuestionCitrix Session Pin
Arun Philip Reynolds10-Oct-12 8:30
memberArun Philip Reynolds10-Oct-12 8:30 
AnswerRe: Citrix Session Pin
Eddy Vluggen10-Oct-12 23:57
memberEddy Vluggen10-Oct-12 23:57 
QuestionEnumerate through the values of a enum Pin
Sentenryu10-Oct-12 7:38
memberSentenryu10-Oct-12 7:38 
AnswerRe: Enumerate through the values of a enum Pin
Dave Kreskowiak10-Oct-12 8:01
mvpDave Kreskowiak10-Oct-12 8:01 
GeneralRe: Enumerate through the values of a enum Pin
Sentenryu10-Oct-12 8:18
memberSentenryu10-Oct-12 8:18 
GeneralRe: Enumerate through the values of a enum Pin
Dave Kreskowiak10-Oct-12 8:29
mvpDave Kreskowiak10-Oct-12 8:29 
GeneralRe: Enumerate through the values of a enum Pin
Sentenryu10-Oct-12 8:55
memberSentenryu10-Oct-12 8:55 
GeneralRe: Enumerate through the values of a enum Pin
Mr. Tapan Kumar10-Oct-12 9:47
memberMr. Tapan Kumar10-Oct-12 9:47 
GeneralRe: Enumerate through the values of a enum Pin
J4amieC10-Oct-12 21:26
memberJ4amieC10-Oct-12 21:26 

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.160525.2 | Last Updated 27 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid