Click here to Skip to main content
15,893,668 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Adding Row Numbers to DataGridView Pin
Member 22565337-Feb-11 6:56
Member 22565337-Feb-11 6:56 
AnswerRe: Adding Row Numbers to DataGridView Pin
Luc Pattyn7-Feb-11 8:19
sitebuilderLuc Pattyn7-Feb-11 8:19 
AnswerRe: Adding Row Numbers to DataGridView Pin
Member 22565337-Feb-11 7:08
Member 22565337-Feb-11 7:08 
AnswerRe: Adding Row Numbers to DataGridView Pin
GenJerDan7-Feb-11 9:32
GenJerDan7-Feb-11 9:32 
AnswerRe: Adding Row Numbers to DataGridView Pin
RobCroll8-Feb-11 1:07
RobCroll8-Feb-11 1:07 
QuestionI have this task but I don't know what I should do , Please help me. (get Factor) Pin
Honeyboy_206-Feb-11 0:15
Honeyboy_206-Feb-11 0:15 
AnswerRe: I have this task but I don't know what I should do , Please help me. (get Factor) Pin
Honeyboy_206-Feb-11 0:35
Honeyboy_206-Feb-11 0:35 
GeneralRe: I have this task but I don't know what I should do , Please help me. (get Factor) [modified] Pin
_Erik_8-Feb-11 3:38
_Erik_8-Feb-11 3:38 
It is really easy to count the number of prime factors of a number. I will not give you the implementation, but can help you with the algorithm.

1. Define a factorCount variable and initialize it to 0.
2. Define a factor variable and initialize it to 2.
3. If factor is equal or bigger than the number to check, goto step 6, else, continue by step 4.
4. If factor divides the number to check:
4.1 Increase factorCount by 1.
4.2 Divide the number to check by factor.
4.3 Go to step 4.
5. Increase factor by 1.
5. Go to step 3.
6. Return factorCount.

That is all.

modified on Tuesday, February 8, 2011 9:44 AM

AnswerRe: I have this task but I don't know what I should do , Please help me. (get Factor) Pin
Richard MacCutchan6-Feb-11 1:35
mveRichard MacCutchan6-Feb-11 1:35 
GeneralRe: I have this task but I don't know what I should do , Please help me. (get Factor) Pin
#realJSOP7-Feb-11 5:20
mve#realJSOP7-Feb-11 5:20 
AnswerRe: I have this task but I don't know what I should do , Please help me. (get Factor) Pin
Abhinav S7-Feb-11 6:42
Abhinav S7-Feb-11 6:42 
AnswerRe: I have this task but I don't know what I should do , Please help me. (get Factor) Pin
Bernhard Hiller8-Feb-11 0:46
Bernhard Hiller8-Feb-11 0:46 
QuestionTab Control Page Not Responding Fast Enough Pin
Member 22565334-Feb-11 4:54
Member 22565334-Feb-11 4:54 
AnswerRe: Tab Control Page Not Responding Fast Enough Pin
Yusuf4-Feb-11 5:33
Yusuf4-Feb-11 5:33 
GeneralRe: Tab Control Page Not Responding Fast Enough Pin
Member 22565334-Feb-11 5:39
Member 22565334-Feb-11 5:39 
AnswerRe: Tab Control Page Not Responding Fast Enough Pin
Luc Pattyn4-Feb-11 6:19
sitebuilderLuc Pattyn4-Feb-11 6:19 
AnswerRe: Tab Control Page Not Responding Fast Enough Pin
GenJerDan4-Feb-11 9:57
GenJerDan4-Feb-11 9:57 
Questionnet framework installation Pin
siaswar3-Feb-11 11:27
siaswar3-Feb-11 11:27 
AnswerRe: net framework installation Pin
Roger Wright3-Feb-11 11:40
professionalRoger Wright3-Feb-11 11:40 
AnswerRe: net framework installation Pin
RobCroll3-Feb-11 13:21
RobCroll3-Feb-11 13:21 
AnswerRe: net framework installation Pin
Luc Pattyn3-Feb-11 14:06
sitebuilderLuc Pattyn3-Feb-11 14:06 
GeneralRe: net framework installation Pin
RobCroll3-Feb-11 14:51
RobCroll3-Feb-11 14:51 
AnswerRe: net framework installation Pin
Abhinav S4-Feb-11 0:14
Abhinav S4-Feb-11 0:14 
QuestionEventing and Memory leaks Pin
RobCroll2-Feb-11 5:04
RobCroll2-Feb-11 5:04 
AnswerRe: Eventing and Memory leaks Pin
Luc Pattyn2-Feb-11 5:17
sitebuilderLuc Pattyn2-Feb-11 5:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.