3761 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
2674 1
How to use Ajax Rating Control in listview?

I am using the AJAX Rating Control inside a ListView control, When I run the page it throws the error 'Specified cast is not valid'

Here Is the code 

...
Type
Question
4368 2
Compare System Time with database time only (not datetime)

I need to compare a time in a table with the current system time and need to pop up a notification. But how can I compare both? here is my code and DB:

...
Type
Question
2208 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
2688 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


10324 1
Using a Hub instance not created by the HubPipeline is unsupported.

Hello, I am trying to call SignalR method from C# controller in asp.net MVC, but I am getting this error

Using a Hub instance not created by the HubPipeline is unsupported.

Here is the image of the error

...

Type
Question
6985 2
JSON.NET Error Self referencing loop detected for type

I am trying to convert List into JSON format using the code below

...
Type
Question
4643 2
How to load cascading dropdown in asp.net MVC?

I am working on asp.net MVC web application, I want to fetch Second dropdown list based on value of first dropdown list, I know we can do it with Ajax, but I am not able to fetch results

How can achieve it, can anyone explain it with example, thanks

 

...
Type
Question
12938 3
Error : Keyword not supported: 'metadata'

I was trying to use Hangfire.IO in my MVC ASP.NET boilerplate application and pasted this code in Startup.cs as explained here in tutorial

...
Type
Question
8115 2
how to convert UTC DateTime to local datetime in C#?

I want method which returns the string datetime in target locale format by taking the UTC DateTime and UTC DateTime offset in c#, here is the example code

 

...
Type
Question

Page 22 of 24