I am calling my database which contains a datetime datatype. The date looks like this:  2005-05-23 16:06:00.000  I would like to display this in a table when a user selects a certain item from a list. I call my controller action and return Json of al...
Let me explain more:  we know that map function in jQuery acts as .Select() (as in LINQ).  $("tr").map(function() { return $(this).children().first(); }); // returns 20 tds   now the question is how can we have .SelectMany() in jQuery?  $(...
I have an object in the below format and I need to get all values from the Price property at all levels of the object.  var o = {     Id: 1,     Price: 10,     Attribute: {         Id: 1,         Price: 2,         Modifier: {             Id: 34,...
Is it possible to use a predicate expression as a parameter for an HTTPGET request (to a mvc api controller).  Background: I`m trying to build a car rental web application. using MSsql for db, EntityFramework (code-first), a repository for (generic)...
Background:  Just for laughs I decided to search to see if anyone out there had developed a JavaScript implementation of LINQ.  Lo and behold, there seem to be several of them. It would seem like LINQ implementations are almost like string Template p...
I have this sample documents    {   "_id" : ObjectId("549452820d56c14be9473f30"),   "company" : "google",   "customers" : [{       "cart" : "34323",       "logins" : [{           "Id...
I am trying to join an array of dates and values to an array of dates, without filtering out the extra dates. The LinqJS reference here is pretty confusing on how I would actually go about using the join. The question here did not help much either....
I have an Upload Button in an app that uploads a deliveries object, but sometimes the deliveries object is null when it gets to the web service.  Full code is below, but it is this bit that I am having trouble unpicking. I believe this is LINQ code,...
In my javascript file i would like to display my results using linq query like statement.  Below is my view model and information regarding how i'm getting the info.   var viewModel = {     RosterRoleTypes: ko.observableArray([]) };  // the ViewM...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.