Click here to Skip to main content
15,896,153 members
Home / Discussions / C#
   

C#

 
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 
Questionintenal and internal protected Pin
Sonia Gupta30-Jul-07 18:46
Sonia Gupta30-Jul-07 18:46 
AnswerRe: intenal and internal protected Pin
Christian Graus30-Jul-07 18:58
protectorChristian Graus30-Jul-07 18:58 
GeneralRe: intenal and internal protected Pin
Sonia Gupta30-Jul-07 19:03
Sonia Gupta30-Jul-07 19:03 
GeneralRe: intenal and internal protected Pin
Christian Graus30-Jul-07 19:21
protectorChristian Graus30-Jul-07 19:21 
GeneralRe: intenal and internal protected Pin
Vikram A Punathambekar30-Jul-07 22:17
Vikram A Punathambekar30-Jul-07 22:17 
AnswerRe: intenal and internal protected Pin
pavanteja30-Jul-07 23:31
pavanteja30-Jul-07 23:31 
GeneralRe: intenal and internal protected Pin
Sonia Gupta30-Jul-07 23:36
Sonia Gupta30-Jul-07 23:36 
GeneralRe: intenal and internal protected Pin
originSH31-Jul-07 0:08
originSH31-Jul-07 0:08 
QuestionACESS and C#! NID HELP!!! Pin
oyams9030-Jul-07 17:46
oyams9030-Jul-07 17:46 

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.