15,923,852 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 Visual Basic questions
View Javascript 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 GeoFinex (Top 10 by date)
GeoFinex
24-Oct-22 10:42am
View
I already did that, check the code below
const output = [];
res.forEach(arr => arr.forEach(b => {
const resultBlock = output.find(r => r.department == b.department);
if (resultBlock) {
Object.assign(resultBlock, b);
} else {
output.push(b);
}
}));
GeoFinex
24-Oct-22 10:16am
View
Implemented the same code on this query
[
[
{
"department": "DRDO",
"pending": 1,
"processing": 1
}
],
[
{
"department": "DRDO",
"processing": 1
},
{
"department": "IIT",
"processing": 1
}
],
[
{
"department": "DMFT",
"disposed": 1
}
]
]
But the output is not as expected
[
{
"department": "DRDO",
"pending": 1,
"processing": 1
},
{
"department": "IIT",
"processing": 1
},
{
"department": "DMFT",
"disposed": 1
}
]
GeoFinex
6-Aug-19 14:03pm
View
Really agree you, but the Websockets api which i got is only for the startups like us not for individual traders, this ensures that it's possible
The reserved last option i have is to host the app on vm individually for each client where the trades will be executed.
But it's the last option.
Trying to get something relevant if exists.
GeoFinex
6-Aug-19 13:52pm
View
I think indexing the users cannot be used to handle these processes, doing this will execute the code simultaneously but not as i need.
Getting idea from your word "batch".
I think i should run around "map"
GeoFinex
10-Jun-19 1:05am
View
Agree, i already using a separate app to update data, but to retrieve data it must be on a single page.
It it be good to use: setTimeout(function () {}, to use these type of app or will have to move to something else like "SignalR StockTickData"
Regards
GeoFinex
9-Jun-19 13:31pm
View
So, what's should i try?
GeoFinex
25-Apr-18 7:25am
View
Have you gone through my attached snapshot what exactly i want?
Have a look on it here https://www.dropbox.com/s/z6zkalhvjeiscy3/loading-bg.PNG?dl=0
GeoFinex
4-Aug-17 13:52pm
View
Here is the fiddle http://sqlfiddle.com/#!9/33fbe4/17
GeoFinex
4-Aug-17 7:48am
View
Yes working, but it's giving unexpected result when i changed the user_id values to alpha numeric.
GeoFinex
4-Aug-17 6:09am
View
I tried your code and is helpful for me but a new issue occurred because it compares values as an Integer and my User_id, Reference_id may have numeric and alphanumeric values like "ricky_global9, peter123"
See me corrected code:
var gCmd = new SqlCommand(@"(SELECT dIstributor_iD FROM dEmo_aCcounts WHERE
@Sponsor_id <= dIstributor_iD )", nCon);
gCmd.Parameters.AddWithValue("@Sponsor_id", "2723022");
SqlDataAdapter Sda = new SqlDataAdapter(gCmd);
DataTable Dt = new DataTable();
Sda.Fill(Dt);
for (int i = 0; i < Dt.Rows.Count; i++)
{
Response.Write(Dt.Rows[i]["dIstributor_iD"]);
}
Show More