4795 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
4675 1
Convert PDF to Image in C# (Console Application Example)
In this article, I have provided sample code to convert PDF file to image using C#, we will be using PDFium library for this.
Type
Article
4647 0
Transfer e-mails from one exchange server to another using EWS Api in C# .NET
Transfer e-mails from one exchange server to another using EWS Api in C# .net MVC
Type
Article
4616 1
Update page without loading it using PartialView

How can I make a controller in ASP.NET MVC do something(here it is inserting data in database) but doesn't load or reload the whole view just the partial view

...

Type
Question
4596 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


4533 0
Understanding Unit testing in C# With Example
In this article, I have provided the basics of Unit testing in C# with example and have also explained why it is important to use Unit testing.
Type
Article
4530 1
How to create dynamic list type in C#?

Hello, I would like to create a helper function in the class, which can be used by multiple List types at the same, so how can I create initialize or create function to pass List<T> where T can be any type of class in C#?

...
Type
Question
4519 1
Hello World C# program with explanation of code
In this article, I have provided code to print hello world in C# using Visual Studio console application with explanation of code for beginners.
Type
Article
4518 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
4489 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

Page 12 of 23