15,748,615 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 Javascript questions
View C++ questions
View Python questions
View Java 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 Magnus Gudmundsson (Top 6 by date)
Magnus Gudmundsson
7-Apr-11 2:37am
View
Please rephrase question. It's not easy to decipher what it is that you want help with. :)
Magnus Gudmundsson
23-Feb-11 17:07pm
View
Maybe it's just that it's way past my bedtime, but where is the code that saves the checkbox.checked value? Because you apparently bind the grid everytime you load the page, that should be where the problem is. Have you verified that the checked value gets saved to the database in the c# version?
Magnus Gudmundsson
22-Dec-10 6:29am
View
What exactly is the problem? If you google this, you get a couple of articles, for example this one:
http://msdn.microsoft.com/en-us/library/bb386580(VS.90).aspx
Magnus Gudmundsson
19-Dec-10 17:26pm
View
I promise you Mark,provided that you are programming in vb.net (I think the code should work in vb.6, but im not sure :) ) if you put my function in your program (the function called CalculateAverage.)
and make a call to it att line 11 (and provided that you pass a string that is not empty),
it will return the average, I have tried it myself :)
Just paste the function into your code and att line 11
make a call to it in this way
lblAverage.Text = "Average letters per Word: " & cstr(CalculateAverage(sLine)
you will have to erase the second last line of your code, so that it does not override the value you get from my function.
Magnus Gudmundsson
9-Dec-10 10:41am
View
Thanks for the answer Griff. I did not know about the internal Guid used for replication, thats interesting. But still, it seems a bit off to add a DateTime stamp column to a table when all you need is a puny int as Identity ;) (granted if you make the guid a clustered index, you would not need the datetime stamp.) I remain a Guid skeptic, but would like to gruff on about this matter :o)
If I have the time and energy I will try to write a CP article named The Case against Guid, and will leave no stone unturned.
Cheers
Magnus Gudmundsson
9-Dec-10 10:18am
View
I disagree :)
Guids are pain to the eye.
Usually you want to put an index on your Identity column, and because Guids are big, (4 times the size of a columntype of int) The indexing becomes slower = every search you do on that table becomes slower.
+ when you use an autonumber it is fairly easy to see in which order the rows arrived to the database (and that is something you often want to know.)
Replication is not a problem. you can turn the autogeneration of the identity column off:
http://ryanfarley.com/blog/archive/2004/12/19/1313.aspx
Show More