Click here to Skip to main content
15,915,509 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to keep a datatable? Pin
MudkiSekhon3-Dec-05 1:53
MudkiSekhon3-Dec-05 1:53 
QuestionNumber of Rows in a DataSet Table Pin
budidharma2-Dec-05 6:30
budidharma2-Dec-05 6:30 
AnswerRe: Number of Rows in a DataSet Table Pin
KaptinKrunch2-Dec-05 6:33
KaptinKrunch2-Dec-05 6:33 
GeneralRe: Number of Rows in a DataSet Table Pin
Jared Parsons2-Dec-05 7:09
Jared Parsons2-Dec-05 7:09 
GeneralRe: Number of Rows in a DataSet Table Pin
Drew McGhie2-Dec-05 8:27
Drew McGhie2-Dec-05 8:27 
GeneralRe: Number of Rows in a DataSet Table Pin
Jared Parsons2-Dec-05 11:31
Jared Parsons2-Dec-05 11:31 
GeneralRe: Number of Rows in a DataSet Table Pin
budidharma2-Dec-05 7:55
budidharma2-Dec-05 7:55 
QuestionFile problem exception in C#...try to writing log class Pin
Yanshof2-Dec-05 6:03
Yanshof2-Dec-05 6:03 
Hi All.

I writing some application and in it i wrote some Log file that will be as instance in each class and in each class that use the log - will able to send string to the log file.

I have some problem that create some exception in my log file.
In log class i have method call "Write" that getting string and writing it to file.
In the end of method "Write" the log class close the file by doing this line

if (m_cFileStream!= null)
m_cFileStream.Close();

After i call the "Write" class again i getting Exception in the line that do :

StreamWriter cStreamWrite = new StreamWriter(m_cFileStream);

[The variable m_cFileStream is not a null and he hold the same information they were in it before calling the block that close the FileStream]

I realy dont understand why i getting an exception and how to solve this problem.

Someone can Help me ??


AnswerRe: File problem exception in C#...try to writing log class Pin
Jared Parsons2-Dec-05 7:11
Jared Parsons2-Dec-05 7:11 
AnswerRe: File problem exception in C#...try to writing log class Pin
mcljava2-Dec-05 10:40
mcljava2-Dec-05 10:40 
Questionhelp Pin
eyalso2-Dec-05 5:52
eyalso2-Dec-05 5:52 
AnswerRe: help Pin
Reanalyse2-Dec-05 21:23
Reanalyse2-Dec-05 21:23 
GeneralRe: help Pin
eyalso2-Dec-05 22:24
eyalso2-Dec-05 22:24 
QuestionUser-reorder ListViewItems by dragging? Pin
wikoh2-Dec-05 5:17
wikoh2-Dec-05 5:17 
QuestionC# out-of-process COM component Pin
london_ste2-Dec-05 4:55
london_ste2-Dec-05 4:55 
Questionwhat is the meaning of "PublicKeyToken=null is not marked as serializable." ? Pin
P. Gnana Prakash2-Dec-05 4:11
P. Gnana Prakash2-Dec-05 4:11 
AnswerRe: what is the meaning of "PublicKeyToken=null is not marked as serializable." ? Pin
[Marc]2-Dec-05 6:26
[Marc]2-Dec-05 6:26 
GeneralRe: what is the meaning of "PublicKeyToken=null is not marked as serializable." ? Pin
P. Gnana Prakash2-Dec-05 18:36
P. Gnana Prakash2-Dec-05 18:36 
QuestionHow to serialize more than one object? Pin
ishlilith2-Dec-05 3:59
ishlilith2-Dec-05 3:59 
AnswerRe: How to serialize more than one object? Pin
mav.northwind3-Dec-05 22:43
mav.northwind3-Dec-05 22:43 
QuestionUsing JPanel on Windows.Forms Pin
sbozcan2-Dec-05 3:49
sbozcan2-Dec-05 3:49 
QuestionHow to write this C code in C#? Pin
bouli2-Dec-05 2:44
bouli2-Dec-05 2:44 
AnswerRe: How to write this C code in C#? Pin
Alvaro Mendez2-Dec-05 3:29
Alvaro Mendez2-Dec-05 3:29 
GeneralRe: How to write this C code in C#? Pin
bouli2-Dec-05 3:55
bouli2-Dec-05 3:55 
AnswerRe: How to write this C code in C#? Pin
User 66582-Dec-05 4:07
User 66582-Dec-05 4:07 

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.