15,891,184 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 shiny13 (Top 26 by date)
shiny13
23-Feb-13 12:23pm
View
yep, true true. Good help is hard to find at times of need. You should never waste people's time like this. Down voted the question.
shiny13
23-Feb-13 11:52am
View
Btw, I upvoted your answer because its hilarious and also teaches something!
shiny13
23-Feb-13 11:51am
View
lol!! Don't discourage the man, its an easy way for us folks to come here and get some points by teaching the man something :)
shiny13
14-Feb-13 6:36am
View
you didnt include the name of the software
shiny13
12-Feb-13 8:27am
View
Best answer! :)
shiny13
12-Feb-13 8:27am
View
I have found the solution to Oracle, the equivalent to Top is Rownum. For MySQL its limit... Thanks for suggesting Top though.
shiny13
12-Feb-13 8:17am
View
Well if you said that in the beginning you would have had a whole of different answers and suggestions!
shiny13
12-Feb-13 8:16am
View
That's ok no need to join, the table Employee has these columns: Id, Name and Salary. You can just perform this operation there.
shiny13
12-Feb-13 8:07am
View
Thanks! Is this only for SQL Server? Or will this sql also run in MySQL and Oracle? Is there any chance to solve this with aggregate functions like Max(Salary) ?
shiny13
11-Feb-13 2:51am
View
yepp definitely. Focus on the theoretical parts 1st. Here in C# the exception handling is almost the same as C++ but slightly different, then generics in C# is different from Templates n C++ but same concept. So easier to test it out, debug and see output on the console project.
Follow a book or video tutorial series and practice on console. Then slowly proceed to ASP.NET MVC, win forms, WPF, windows mmobile etc. or anything else you want.
shiny13
9-Feb-13 2:28am
View
There's something definitely wrong in your looping logic. Why do you have 2 nested loops? Explain what the loops are for.
shiny13
7-Feb-13 10:07am
View
Well you can do all that then in an if statement. I understand our logic but I wonder why would you need to do this.
shiny13
7-Feb-13 8:34am
View
no problem!
shiny13
7-Feb-13 3:30am
View
This is plagiarism, blatantly copied from http://stackoverflow.com/questions/1913098/what-is-the-difference-between-an-interface-and-abstract-class and claiming to be his own words and code.
shiny13
7-Feb-13 2:12am
View
Oh not mate, its not free you have to pay. But Viblend has some free controls, go here: http://www.viblend.com/products/net/windows-forms/controls/free-winforms-controls.aspx
shiny13
2-Feb-13 10:18am
View
what type of question is this? :S I don't understand the question
shiny13
2-Feb-13 10:17am
View
Deleted
what type of question is this? :S I don't understand the question
shiny13
2-Feb-13 10:10am
View
in this case you can take the DataTable MyTable and count the rows maybe to see how many rows it has like this:
int count = MyTable.Rows.Count();
Or maybe to be extra sure try a for each loop and loop through the items and increment the count:
int count = 0;
foreach(var item in MyTable)
{
count++;
}
shiny13
23-Jan-13 23:41pm
View
Initialize the variables ContinueTime and PauseTime as DateTime. Everytime you subtract two DateTime variables the out is generated in TimeStamp, so you can initialize PauseDuration as Timestamp. A TimeStamp variable can be converted to string if you want to display it. By default it is in this format: "hh:mm:ss:nn" where hh is hour, mm is minute, ss is second and nn is nano second or microsecond (not exactly sure but could be either).
shiny13
23-Jan-13 10:00am
View
Glad I could help :)
shiny13
17-Jan-13 23:26pm
View
Thanks :D
shiny13
17-Jan-13 6:21am
View
no problem :)
shiny13
16-Jan-13 2:02am
View
ok then maybe try using color like this:
string hexValue = "#000000"; // You do need the hash
Color colour = System.Drawing.ColorTranslator.FromHtml(hexValue); // Yippee
shiny13
15-Jan-13 9:04am
View
You didn't specify so I thought maybe its for winform. Include System.Drawing.Color namespace at the top and you will get some colors.
shiny13
3-Jan-13 8:23am
View
well a column means that it will be be NEXT to the amount column, so you have to add another column. But I think according to your example in the question you are looking for a Row in the end that is the sum of all rows. So after the loop ends add make a DataGridViewRow object and then add the amount value then in the existing dataGridView just add your row!
shiny13
3-Jan-13 2:45am
View
Okay your code might work, try it out. Tell me if it returns any new error.
Show More