5545 2
There is already an open datareader associated - error in C#

I am trying to run a below query in my ASP.NET MVC project, but I am getting an error "there is already an open datareader associated with this command which much be closed first" in C#, how can I resolve it?

datareader-alread-open-C-sharp-min.png

Here is the C# code, which I am using

...
Type
Question
5373 0
Extension Methods in C# (Explanation With Example)
In this article, I have explained about extension methods in C# with an example which helps us to re-use the same C# method at different parts of code.
Type
Article
5339 0
Extract Text from image in C# using Tesseract
In this article, I have provided a console application example to extract text from image in c# using Tesseract OCR in .NET
Type
Article
5261 1
how to add image in folder & image path in db in mvc??

How can i add image path in database, while image in the project folder using ASP.NET MVC C#??
As asked on facebook group

...
Type
Question
5234 0
Resize image in C# (Console application example)
In this article, I have provided working console application example code, in which we will resize image using C# code.
Type
Article


5201 1
How to compare two pdf in c#?

How can I compare Two pdf file in asp.net c#? Any examples or link, thanks.

...
Type
Question
5160 2
Find duplicate array elements & count its occurence in c#

Hi, I have to find the repetition of number of occurence of an element in an array in c#, here is my current code for simple array

...
Type
Question
5145 1
How to resolve Class, struct, or interface method must have a return type?

C# error, when trying to execute the code as below

...
Type
Question
5108 0
Convert List to string in C# (Comma-separated, New-Line)
In this article, I have provided example to convert List into comma-separated string or New line separated using C#.
Type
Article
5076 0
Show elapsed time of item using C#, SQL & jQuery (Updating elapsed time of item dynamically using jQuery)
This article shows you, how you to get date difference from database in C# and update elapsed time dynamically using jQuery
Type
Article

Page 13 of 24