15,891,136 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 Balaji1982 (Top 8 by date)
Balaji1982
9-Jul-12 1:32am
View
Hi dude, the Identity number must start with 1 daily.
This order number for today will be 2012070901, 2012070902, 2012070903.... for tomorrow will be 2012071001, 2012071002 and so on.
I recon we need to look for a more generic requests queuing system. First in First out implementation.
Balaji1982
4-Jul-12 8:26am
View
Thanks mate. Would this solve 10 or more concurrent requests for unique order number? I would like to keep the current table structure intact if possible and do the queuing only at the C# code level.
Balaji1982
4-Jul-12 4:34am
View
Thanks mate. Auto Increment is not suitable here as this is a Unique Order Number that is being generated. Something like this.
Format:
YYYYMMDD+MAX(COUNT(*) FROM TABLE)
This number for today will be 2012070401, 2012070402, 2012070403....
for tomorrow will be 2012070501, 2012070502 and so on
Balaji1982
26-Mar-12 2:27am
View
Thanks dude for your help. I appreciate it.
Balaji1982
25-Mar-12 6:11am
View
Hi dude,
Will work on this on Monday and let u know the outcome. Hopefully i should be able to get it working in my application. This bug in my application has been going on for a month now and the clients are pissed off because of this.
One thing i should let u know is i tried converting the source data from network in byte array from big5 encoding to Unicode and the converted data in byte[] doubled in size/length from 9000 to 18000. Since the rest of the processing in my app is entirely based on length of this data, i need to make sure i dont mess up this received data and i dont have to modify any other stuff except this encoding part. !!!
Balaji1982
24-Mar-12 2:54am
View
Hi Sa,
Thanks for the info. If i have a byte array with english and chinese characters in it, how do i preserve the encoding and at the same time extract the important information from the array?
Can i convert it into char array and then into a string or is there any other way to do this safely?
Balaji1982
22-Mar-12 7:06am
View
c#
Balaji1982
22-Mar-12 3:15am
View
Hi Sa,
What Unicode Encoding should i use that supports both english and traditional chinese?
there are quite a few i guess
UTF7, UTF8, Unicode, BigEndianUnicode, UTF32
Show More