15,899,475 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by SandyZhang2014 (Top 16 by date)
SandyZhang2014
4-May-15 2:36am
View
Thanks, all finished. done.
SandyZhang2014
4-May-15 0:20am
View
Deleted
Thanks, that is work now.
But I have a question is how to use linq to return last six weeks of created user??
the question before is return last six months created user. Now I need last six weeks created users and group by weekly?????
SandyZhang2014
10-Feb-15 6:42am
View
Deleted
but I write it like this way then won't work
<pre>var module = angular.module("CsbApp", ["ngRoute"]);
module.config(function ($routeProvider) {
$routeProvider.when("/", {
controller: "listsController",
templateUrl: "list.html"
});
$routeProvider.otherwise({ redirectTo: "/" });
});
module.factory("dataService", ["$http", "$q", function ($http, $q) {
var _users = [];
var _getUsers = function () {
var deferred = $q.defer();
var req = {
method: 'GET',
url: 'http://api.muulla.com/app/merchant/all/10/1',
headers: {
'x-device-latitude': '0',
'x-device-longitude':'0'
}
};
$http(req).success(function(result)
{
angular.copy(result.data, _getUsers);
deferred.resolve();
}).error(function(){ deferred.reject();});
return deferred.promise;
};
return {
users: _getUsers,
getUsers: _getUsers
};
}]);
var listsController = ["$scope", "$http", "dataService", function ($scope, $http, dataService) {
//$scope.dataCount = 0;
$scope.data = dataService;
dataService.getUsers()
.then(function () {
//success
},
function () {
//error
alert("could not load topics");
})
.then(function () {
});
}];</pre>
SandyZhang2014
10-Feb-15 6:41am
View
Deleted
This already work,thanks
SandyZhang2014
9-Feb-15 23:44pm
View
I just don't get it, it is very simple jQuery function fadeOut and fadeIn,and console show info is correct,but fadeOut and fadeIn won't work
SandyZhang2014
9-Feb-15 23:41pm
View
changed
SydneyValidation.js:104 false
SydneyValidation.js:106
<div class="col-lg-4">
<div class="form-group has-feedback">
<label class="control-label">Return flight #</label>
<input class="form-control" id="Return_Flight_Number" name="Return_Flight_Number" placeholder="Flight Number" type="text" value="" data-bv-field="Return_Flight_Number">
Please enter your return flight number
</div>
</div>
<div class="col-lg-4">
<div class="form-group has-feedback">
<label class="control-label">Date</label>
<input class="form-control" data-val="true" data-val-date="The field Return_Flight_Date must be a date." id="datetimepickertimereturnDate" name="Return_Flight_Date" placeholder="Flight Date" type="text" value="" data-bv-field="Return_Flight_Date">
Please select your return flight date
</div>
</div>
<div class="col-lg-4">
<div class="form-group has-feedback">
<label class="control-label">Time</label>
<input class="form-control" id="datetimepickertimereturnTime" name="Return_Flight_Time" placeholder="Flight Time" type="text" value="" data-bv-field="Return_Flight_Time">
Please select your return flight time
</div>
</div>
The console show correct, but still won't hide
SandyZhang2014
9-Feb-15 23:38pm
View
console.log($(#returnFlightInfo).innerHTML()); show error, say .innerHTML() is not function
SandyZhang2014
9-Feb-15 23:37pm
View
the answer should work,but It just don't work,
I could access #returnFlightInfo, I just hide when people choose single trip,I use button it work, but now I choose radio button then don't work
SandyZhang2014
7-Nov-14 0:40am
View
Thanks DamithSL :)
SandyZhang2014
30-Oct-14 18:52pm
View
In my database the field type is time(7), and when I put ToString(@"hh\:mm\:ss") }; this, then show error, but if I put it like this
select new SelectListItem { Value = r.Time.ToString(), Text = r.Time.Value.ToString(@"hh\:mm\:ss") };
at the runtime show error:LINQ to Entities does not recognize the method 'System.String ToString(System.String)' method, and this method cannot be translated into a store expression.
SandyZhang2014
30-Oct-14 0:32am
View
It don't accept this ToString(@"hh\:mm\:ss") };
SandyZhang2014
30-Oct-14 0:31am
View
Any format put into it, then show error
SandyZhang2014
29-Oct-14 23:24pm
View
The query is work, but the format don't work
SandyZhang2014
29-Oct-14 23:06pm
View
DateTime time = flightTime.AddMinute(30);this doen't work,
the flightTime return timespan
SandyZhang2014
29-Oct-14 23:03pm
View
The field just have time, don't have date, I don't know how to use it.
SandyZhang2014
29-Oct-14 23:01pm
View
How to use it?? do you have an example?
Show More