Click here to Skip to main content
16,004,991 members
Home / Discussions / C#
   

C#

 
Questionusing (DataReader) inside loop Pin
cnich231-Aug-06 4:55
cnich231-Aug-06 4:55 
AnswerRe: using (DataReader) inside loop Pin
cnich231-Aug-06 5:02
cnich231-Aug-06 5:02 
AnswerRe: using (DataReader) inside loop Pin
Dustin Metzgar1-Aug-06 6:10
Dustin Metzgar1-Aug-06 6:10 
GeneralRe: using (DataReader) inside loop Pin
cnich232-Aug-06 4:19
cnich232-Aug-06 4:19 
GeneralRe: using (DataReader) inside loop Pin
Dustin Metzgar2-Aug-06 4:41
Dustin Metzgar2-Aug-06 4:41 
GeneralRe: using (DataReader) inside loop Pin
cnich233-Aug-06 11:23
cnich233-Aug-06 11:23 
Questiondocuments saving Pin
_tasleem1-Aug-06 4:38
_tasleem1-Aug-06 4:38 
AnswerRe: documents saving Pin
Colin Angus Mackay1-Aug-06 4:52
Colin Angus Mackay1-Aug-06 4:52 
tasleem143 wrote:
i want to save the word,html files in the database for my application.
i had two techniques
1.is save the path of files
2.is the save the whole text of file
can anybody tell me what will be best approach to do so


The first approach is not actually saving "files in the database", it is only putting in a reference to the file on the disk. If you are going to ensure that the file remains on disk then this approach will work.

The second approach is the only one to actually store the file in the database. So it is the only one that meets your requirements as you have explained them.


AnswerRe: documents saving Pin
A.A.1-Aug-06 5:06
A.A.1-Aug-06 5:06 
GeneralRe: documents saving Pin
_tasleem1-Aug-06 8:03
_tasleem1-Aug-06 8:03 
QuestionDefine interface / abstract class with constructor Pin
Florian Storck1-Aug-06 4:12
Florian Storck1-Aug-06 4:12 
AnswerRe: Define interface / abstract class with constructor Pin
NrmMyth1-Aug-06 4:45
NrmMyth1-Aug-06 4:45 
AnswerRe: Define interface / abstract class with constructor Pin
Colin Angus Mackay1-Aug-06 5:02
Colin Angus Mackay1-Aug-06 5:02 
GeneralRe: Define interface / abstract class with constructor Pin
Florian Storck2-Aug-06 4:28
Florian Storck2-Aug-06 4:28 
GeneralRe: Define interface / abstract class with constructor Pin
Colin Angus Mackay2-Aug-06 7:56
Colin Angus Mackay2-Aug-06 7:56 
Questionloading bitmap file Pin
diddy341-Aug-06 3:58
diddy341-Aug-06 3:58 
AnswerRe: loading bitmap file Pin
J4amieC1-Aug-06 4:01
J4amieC1-Aug-06 4:01 
QuestionDisposing a Dataset Pin
fearless stallion1-Aug-06 2:36
fearless stallion1-Aug-06 2:36 
AnswerRe: Disposing a Dataset Pin
ToddHileHoffer1-Aug-06 3:14
ToddHileHoffer1-Aug-06 3:14 
GeneralRe: Disposing a Dataset Pin
fearless stallion1-Aug-06 4:38
fearless stallion1-Aug-06 4:38 
QuestionSyntax problem Pin
psamy1-Aug-06 2:15
psamy1-Aug-06 2:15 
AnswerRe: Syntax problem Pin
rah_sin1-Aug-06 2:22
professionalrah_sin1-Aug-06 2:22 
GeneralRe: Syntax problem Pin
Ennis Ray Lynch, Jr.1-Aug-06 4:46
Ennis Ray Lynch, Jr.1-Aug-06 4:46 
QuestionBinding Datagrid with texboxes Pin
Mamphekgo1-Aug-06 2:01
Mamphekgo1-Aug-06 2:01 
QuestionHow to get the size of reference type stucture Pin
engsrini1-Aug-06 1:28
engsrini1-Aug-06 1:28 

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.