666 1
How can I put the values of database in array in ASP.NET MVC C# ?

How can I put the values of database in array in ASP.NET MVC C# ? 

...
Type
Question
C# ASP.NET MVC
652 2
How can i undo my last Commits on Git?

I have committed some files on my Git using Visual Studio, which i want to undo now, as the code and i want to change it without pushing it to server, i haven't pushed the committed files on server yet, so how can i achieve it using Visual Studio or with some other source?

 

...
Type
Question
git git-commit git-undo-commit git-revert
614 0
Understanding Garbage Collection In C#
In this article, I have discussed in detail about how garbage collection works in C# .NET with an example in console application.
Type
Article
C# Garbage Collection In C#
608 2
How can I Enumerate an enum in C#?

How can I Enumerate an enum in C#? Here is my current code, and it does not works:

...
Type
Question
C# Enums loop-enumerate-enums-using-C#
605 1
How to get latitude and longitude from address using C# or Javascript?

I have a requirement to get latitude and longitude from address using C# or Javascript, any solution will work. So, how can I get them using address?

Basically, I need to convert the address into Lat / Long and show it in Google maps in ASP.NET MVC web-application, so javascript solution will also work.

Note: I don't have lat/long, just address of the user.

...
Type
Question
C# Javascript google-maps-api lat-long-from-address-google-maps

568 1
How to access a variables and functions of a specific class from another class in C#

How to access variables and functions of a specific class from another class in C#

Please give an example.

...
Type
Question
C# .Net
526 2
How to Switch ORM in Repository Pattern (C# .NET MVC)?

I have been searching on it how to switch ORM using repository pattern, and i was not able to find "examples/sample codes" of it so i can study with that. 

I believe my search keywords were wrong (ex. How to switch from EF to ADO.NET using Repo pattern and etc), thats why I can not find an article that talks about it.

Lets say we implement repository pattern with Entity Framework.

Is it repo pattern tightly coupled in Entity Framework? or

Do I need to create another Data Access Layer that talks for ADO.NET/or DAPPER/ Nhibernate?(for example)

Thanks in Advance.

...
Type
Question
ASP.NET C# Repository Pattern
520 2
Show correct message based on entering URL in C#

If user entering url across multiple country wise, if url exists message should come like : facebook.com exists in DE,IN. Here is the current code

...
Type
Question
asp.net c#
477 1
How to gray out data which is before start time in list view of asp.net Web forms?

I am showing the list of restaurants in the listview, in this list, I have restaurant's start time and end time, So I want o to disable those restaurant's which is listed on the list, before start time , so that's user can't click on them or view them, in other words, gray out the restaurant's which isn't opened yet

Here is my current code:- restaurants.aspx

 

...
Type
Question
listview asp.net web-forms gray-out-data
462 2
How to subtract total of each row in C# matrix from constant number and sum the result?

Hi, I would like to know how to subtract total of each row in C# matrix from a magic constant number(example : 15) and sum the result, for example, here is my current matrix

...
Type
Question
c# C# matrix Subtraction

Page 10 of 12