5577 1
Redirect users to a view using Switch case in asp.net MVC?

I want to redirect the users to certain pages on the basis of their rating. How can I use a switch case in C# ASP.NET MVC to do this? Please give me suggestions with some code part.

...
Type
Question
5552 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
5459 0
Widely asked C# Programming interview questions with answers
In this article, I have provided list of most widely used C# interview questions and answers, which a beginner or advanced developer should know.
Type
Article
5445 1
Error : Wrong number of indexes '2' inside [], expected '1' Compilation failed in C# 2-D array

Hi, I am trying to run the below C# code for martix, but getting error

...
Type
Question
5318 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


5318 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
5306 2
How to get lat-long from address (string) using C#?

I have a address in string like "444 NE Ravenna Blvd, Seattle, WA" , now how can I get the lat/long of this address using Google maps or any other services in C#.

Basically need to convert address into Lat-long using C#.

...
Type
Question
5291 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
5158 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
5151 0
Encrypt and Decrypt files in C#
In this article, I have mentioned how you can encrypt or decrypt files using Cryptography and using FileInfo method in C#
Type
Article

Page 12 of 24