Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
GeneralRe: retreiving both local users and active directory users Pin
e_akhras24-Apr-06 1:07
e_akhras24-Apr-06 1:07 
Questionany info, about rational rose models , kinds , exampels ? Pin
abdallahziad23-Apr-06 3:15
abdallahziad23-Apr-06 3:15 
AnswerRe: any info, about rational rose models , kinds , exampels ? Pin
alexey N23-Apr-06 17:54
alexey N23-Apr-06 17:54 
Generalthx for helping Pin
abdallahziad24-Apr-06 2:03
abdallahziad24-Apr-06 2:03 
QuestionRotate images with links Pin
Amalarajan23-Apr-06 2:49
Amalarajan23-Apr-06 2:49 
AnswerRe: Rotate images with links Pin
e_akhras23-Apr-06 5:17
e_akhras23-Apr-06 5:17 
GeneralRe: Rotate images with links Pin
Amalarajan24-Apr-06 0:18
Amalarajan24-Apr-06 0:18 
AnswerRe: Rotate images with links Pin
sudharsong23-Apr-06 21:33
sudharsong23-Apr-06 21:33 
QuestionSynchronization with C# Pin
Lilla8823-Apr-06 2:37
Lilla8823-Apr-06 2:37 
AnswerRe: Synchronization with C# Pin
Graham Nimbley24-Apr-06 13:39
Graham Nimbley24-Apr-06 13:39 
QuestionGenerate documentation Pin
JensB23-Apr-06 1:40
JensB23-Apr-06 1:40 
AnswerRe: Generate documentation Pin
CWIZO23-Apr-06 2:54
CWIZO23-Apr-06 2:54 
AnswerRe: Generate documentation Pin
Graham Nimbley24-Apr-06 13:43
Graham Nimbley24-Apr-06 13:43 
QuestionGetting error: There is already an open DataReader associated with this Command which must be closed first. Pin
emran83423-Apr-06 0:21
emran83423-Apr-06 0:21 
Hello,
Thanks for your time to read my request for a help. I developed my windows application with C#, which has many background workers working at the same time, opening and closing sql databases, modifying sql tables etc. Now, very often I get this error message, " There is already an open DataReader associated with this Command which must be closed first.". I dont know why its happenning sometimes and sometimes not. Is that the reason one thred and another thread conflicting each other when they try to read or modify same sql database ? And sometimes, I get some weired error saying "in order to execute the sqlcommand, connection must be open. ", And I dont see any reason why connection is getting closed before that sqlcommand execution. Now I had to place if(myConn.State == ConnectionState.Close) myConn.Open() ; before every sqlcommand. Even after that I am getting same error sometimes. Can anyone please give me some clue to solve and seal this problem permanently.

Thanks and regards
emran
AnswerRe: Getting error: There is already an open DataReader associated with this Command which must be closed first. Pin
Guffa23-Apr-06 0:56
Guffa23-Apr-06 0:56 
Answerit's a ADO.NET limitation ! Pin
e_akhras23-Apr-06 5:09
e_akhras23-Apr-06 5:09 
AnswerRe: it's a ADO.NET limitation ! Pin
Guffa23-Apr-06 5:38
Guffa23-Apr-06 5:38 
GeneralRe: it's a ADO.NET limitation ! Pin
emran83423-Apr-06 8:42
emran83423-Apr-06 8:42 
GeneralRe: it's a ADO.NET limitation ! Pin
e_akhras24-Apr-06 1:51
e_akhras24-Apr-06 1:51 
GeneralRe: it's a ADO.NET limitation ! Pin
emran83423-Apr-06 8:50
emran83423-Apr-06 8:50 
Generaltwo articles Pin
e_akhras24-Apr-06 2:27
e_akhras24-Apr-06 2:27 
Questionwin application datagrid editting. Pin
moomoori22-Apr-06 22:38
moomoori22-Apr-06 22:38 
Questionoperator overloading in C# Pin
pankajgarg1222-Apr-06 21:50
pankajgarg1222-Apr-06 21:50 
AnswerRe: operator overloading in C# Pin
Guffa22-Apr-06 22:21
Guffa22-Apr-06 22:21 
Questionunmanaged code Pin
pankajgarg1222-Apr-06 21:48
pankajgarg1222-Apr-06 21:48 

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.