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,...
I'm using this library: jsinq.  I want to create a new object using subqueries.  For example, in .NET LINQ, I could do something like this:  from a in Attendances where a.SomeProperty = SomeValue select new {     .Property1 = a.Property1,     .Pr...
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 a webpage that uses JavaScript to retrieve JSON from a web service.  The JSON could contain 10 records or 100 records.  On the webpage, I want to provide a flexible interface that would allows the user to filter and order the data.  The filter...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.