Click here to Skip to main content
15,925,440 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to lose focus on a textbox Pin
beatles169231-Aug-06 2:27
beatles169231-Aug-06 2:27 
AnswerRe: How to lose focus on a textbox - SOLVED Pin
Goerlandt31-Aug-06 4:00
Goerlandt31-Aug-06 4:00 
GeneralRe: How to lose focus on a textbox - SOLVED Pin
Martin#31-Aug-06 4:46
Martin#31-Aug-06 4:46 
QuestionInserting Special Symbols & Alphabets in TextBox Pin
Chetan Ranpariya31-Aug-06 1:28
Chetan Ranpariya31-Aug-06 1:28 
Questionexport data from datagrid to excel [modified] Pin
Mamphekgo31-Aug-06 0:39
Mamphekgo31-Aug-06 0:39 
AnswerRe: export data from datagrid to excel Pin
narendrakumarp31-Aug-06 1:56
narendrakumarp31-Aug-06 1:56 
QuestionMath Calculations Pin
Gavin Roberts31-Aug-06 0:37
Gavin Roberts31-Aug-06 0:37 
AnswerRe: Math Calculations [modified] Pin
User 665831-Aug-06 1:09
User 665831-Aug-06 1:09 
Gavin Roberts wrote:
because the highest value is 172 i'd like to some how generate a set of numbers like the following:

0,30,60,90,120,150,180


Round the highest number to be a multiple of 10, and then create a set with n steps with: number / n

Example:
highest value = 154
-> maxnumber = (int)(154 / 10) * 100 + 10
(But this will only work reliable in the range of 10-100 - I can write an algorithm for you that will work on any kind of numbers, up to a million and above, but I have no time right now. I might write it later for you if you need it Smile | :) )

steps: n steps (e.g. 5)
-> step = maxnumber / n

then you can create your steps like this:

0, step, 2*step, 3*step, ... maxnumber

regards

modified 12-Sep-18 21:01pm.

AnswerRe: Math Calculations Pin
Green Fuze31-Aug-06 1:12
Green Fuze31-Aug-06 1:12 
AnswerRe: Math Calculations Pin
Stefan Troschuetz31-Aug-06 1:17
Stefan Troschuetz31-Aug-06 1:17 
AnswerRe: Math Calculations Pin
Tamimi - Code31-Aug-06 1:36
Tamimi - Code31-Aug-06 1:36 
QuestionHi to One & All Pin
narendrakumarp30-Aug-06 23:55
narendrakumarp30-Aug-06 23:55 
QuestionRe: Hi to One & All Pin
beatles169231-Aug-06 2:32
beatles169231-Aug-06 2:32 
AnswerRe: Thanks for replying me Pin
narendrakumarp31-Aug-06 4:26
narendrakumarp31-Aug-06 4:26 
Questionhow to call telecommuniation services through pocket pc in c# [modified] Pin
mohdmeraj30-Aug-06 23:25
mohdmeraj30-Aug-06 23:25 
AnswerRe: how to call telecommuniation services through pocket pc in c# Pin
Divyang Mithaiwala31-Aug-06 0:25
Divyang Mithaiwala31-Aug-06 0:25 
QuestionEnum in C# Pin
peshawarcoder30-Aug-06 23:06
peshawarcoder30-Aug-06 23:06 
AnswerRe: Enum in C# Pin
John Petersen30-Aug-06 23:18
John Petersen30-Aug-06 23:18 
GeneralRe: Enum in C# Pin
peshawarcoder31-Aug-06 1:15
peshawarcoder31-Aug-06 1:15 
AnswerRe: Enum in C# Pin
Scott Dorman1-Sep-06 13:01
professionalScott Dorman1-Sep-06 13:01 
Questionstuck with web conrol properties Pin
Mukesh Kumar Gupta30-Aug-06 22:35
Mukesh Kumar Gupta30-Aug-06 22:35 
Questionmaking an event handler/callback function Pin
Yustme30-Aug-06 22:30
Yustme30-Aug-06 22:30 
AnswerRe: making an event handler/callback function Pin
Andrei Ungureanu31-Aug-06 2:28
Andrei Ungureanu31-Aug-06 2:28 
AnswerRe: making an event handler/callback function Pin
beatles169231-Aug-06 2:45
beatles169231-Aug-06 2:45 
QuestionMs Word Properties Pin
jrsreenivas30-Aug-06 21:47
jrsreenivas30-Aug-06 21:47 

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.