Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
AnswerRe: Top C#/.Net sites Pin
Colin Angus Mackay30-Jul-07 21:20
Colin Angus Mackay30-Jul-07 21:20 
GeneralRe: Top C#/.Net sites Pin
originSH30-Jul-07 22:10
originSH30-Jul-07 22:10 
QuestionEdit icon is displaying in rowheader for datagrid Pin
Software_Guy_12330-Jul-07 19:57
Software_Guy_12330-Jul-07 19:57 
QuestionOpen files with my Application Pin
rkcsharp30-Jul-07 19:24
rkcsharp30-Jul-07 19:24 
AnswerRe: Open files with my Application Pin
Christian Graus30-Jul-07 19:48
protectorChristian Graus30-Jul-07 19:48 
GeneralRe: Open files with my Application Pin
rkcsharp30-Jul-07 20:14
rkcsharp30-Jul-07 20:14 
GeneralRe: Open files with my Application Pin
Christian Graus30-Jul-07 20:19
protectorChristian Graus30-Jul-07 20:19 
GeneralRe: Open files with my Application Pin
rkcsharp30-Jul-07 20:25
rkcsharp30-Jul-07 20:25 
AnswerRe: Open files with my Application Pin
mav.northwind31-Jul-07 0:35
mav.northwind31-Jul-07 0:35 
GeneralRe: Open files with my Application Pin
rkcsharp2-Aug-07 1:18
rkcsharp2-Aug-07 1:18 
Questiona Question regarding a weird illigal error read/write error Pin
Green Fuze30-Jul-07 19:00
Green Fuze30-Jul-07 19:00 
AnswerRe: a Question regarding a weird illigal error read/write error Pin
Luc Pattyn30-Jul-07 23:13
sitebuilderLuc Pattyn30-Jul-07 23:13 
QuestionConvert string to int Pin
Xmen Real 30-Jul-07 18:59
professional Xmen Real 30-Jul-07 18:59 
AnswerRe: Convert string to int Pin
Green Fuze30-Jul-07 19:03
Green Fuze30-Jul-07 19:03 
GeneralRe: Convert string to int Pin
Martin#30-Jul-07 19:57
Martin#30-Jul-07 19:57 
GeneralRe: Convert string to int Pin
Xmen Real 30-Jul-07 20:09
professional Xmen Real 30-Jul-07 20:09 
GeneralRe: Convert string to int Pin
Christian Graus30-Jul-07 20:19
protectorChristian Graus30-Jul-07 20:19 
What you want requires two steps. First, use double.TryParse ( or you will get an error ). Then, use Math.Floor, or Math.Ceiling, if you want to force rounding. Either way, case the double you end up with to an int.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

AnswerRe: Convert string to int Pin
Martin#30-Jul-07 19:56
Martin#30-Jul-07 19:56 
GeneralRe: Convert string to int Pin
Xmen Real 30-Jul-07 20:10
professional Xmen Real 30-Jul-07 20:10 
GeneralRe: Convert string to int Pin
Martin#30-Jul-07 20:19
Martin#30-Jul-07 20:19 
GeneralRe: Convert string to int Pin
Xmen Real 31-Jul-07 19:06
professional Xmen Real 31-Jul-07 19:06 
AnswerRe: Convert string to int Pin
Rhys Gravell30-Jul-07 21:03
professionalRhys Gravell30-Jul-07 21:03 
AnswerRe: Convert string to int Pin
Peter Vertes1-Oct-07 10:29
Peter Vertes1-Oct-07 10:29 
GeneralRe: Convert string to int Pin
Xmen Real 1-Oct-07 16:36
professional Xmen Real 1-Oct-07 16:36 
QuestionDNS request: NAPTR Pin
Spam Skiller30-Jul-07 18:51
Spam Skiller30-Jul-07 18:51 

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.