16,020,103 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 .NET 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 Holc (Top 6 by date)
Holc
16-Oct-11 4:52am
View
yes, but the xml file is generated by another software. maybe if i could try removing the tag with some string-file manipulation
Holc
11-Oct-10 12:10pm
View
indeed
Holc
10-Oct-10 18:11pm
View
have you tried YourBindingSource.ResetBindings(False) or (True) if your metadata has changed (where YourBindingSource is the name of your binding source).
try inserting that on the end of RefreshStudentData() sub
Holc
10-Oct-10 11:31am
View
thanks this will do just fine, i know about the bitarray but it just didn't seem to work in whichever way i'd do it. thanks again.
Holc
27-Sep-10 3:35am
View
I was considering something like that. To create a two hundred million random entry database in advance and then just simply provide the user with a next consecutive entry. This could work but i need to do the whole procedure more than once, what i mean is that the same thing is to be done let's say once a week, two hundred million entries once a week, non cumulative (i would clear the database every week). Or another solution would be to have those same 200 million entries and let the database randomize the order (if that is possible, i don't know), that would work like a charm.
Holc
27-Sep-10 1:11am
View
Sorry for the inconvenience, i might have mislead you with the code i posted. That is the whole problem, i can't do that, this ought to be a web based application and it should work something like this.
A visitor of the website(containing this app) would click a button on the website and the app would generate a random string (let's say a code), however, i have to guarantee that every string generated is unique, so i need to check if the string(code) exists in the database and if it doesn't then insert it into the database, if it does then generate another string. It is impossible to introduce any kind of fashion to those strings, they have to be very random. There is a reasonable thought that there would be more than 100.000.000(approaching 200.000.000) clicks within a certain time period (maybe 2-3 days). Therefore it is not possible for me to use bulk statements since i have to run the app (function within it) for every visitor that clicks on the button.
Now the code i posted roughly simulates clicks on the button, and in such state the time needed to complete this kind on operation is enormous, it would not be very nice if a visitor would have to wait 3 days for his string(code).
Perhaps this is a better explanation of what my problem is. Thanks for any help.
Show More