Click here to Skip to main content
15,912,665 members
Home / Discussions / C#
   

C#

 
GeneralRe: Run time error Pin
Judah Gabriel Himango26-Feb-08 6:33
sponsorJudah Gabriel Himango26-Feb-08 6:33 
GeneralRe: Run time error Pin
Gareth H25-Feb-08 6:54
Gareth H25-Feb-08 6:54 
Question[Datagrid] How to disable row selection when Button from ButtonColumn is selected [modified] Pin
Soulhalo25-Feb-08 3:51
Soulhalo25-Feb-08 3:51 
QuestionPop3 Protocol Pin
Sunshine Always25-Feb-08 3:12
Sunshine Always25-Feb-08 3:12 
GeneralRe: Pop3 Protocol Pin
DaveyM6925-Feb-08 3:34
professionalDaveyM6925-Feb-08 3:34 
Generalround Pin
arkiboys25-Feb-08 2:09
arkiboys25-Feb-08 2:09 
GeneralRe: round Pin
DaveyM6925-Feb-08 2:14
professionalDaveyM6925-Feb-08 2:14 
GeneralRe: round Pin
Guffa25-Feb-08 2:34
Guffa25-Feb-08 2:34 
arkiboys wrote:
ys.YAS_BOND_PX = Math.Round(decimal.Parse(dp.Value.ToString()));


You take the value, convert it to a string, parses is as a Decimal, rounds it, and try to put the Decimal value in a string property?

I think that this is what you are trying to do:

ys.YAS_BOND_PX = Math.Round(dp).ToString()

By the way, don't use the Decimal data type unless you really need it's precision (e.g. monetary applications). The natively supported data type preferred for regular floating point numbers is Double.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralHelp regarding multiline textbox Pin
i_want_to_learn_c#25-Feb-08 2:00
i_want_to_learn_c#25-Feb-08 2:00 
GeneralRe: Help regarding multiline textbox [modified] Pin
DaveyM6925-Feb-08 2:10
professionalDaveyM6925-Feb-08 2:10 
GeneralRe: Help regarding multiline textbox Pin
Luc Pattyn25-Feb-08 4:55
sitebuilderLuc Pattyn25-Feb-08 4:55 
GeneralRe: Help regarding multiline textbox Pin
i_want_to_learn_c#26-Feb-08 0:37
i_want_to_learn_c#26-Feb-08 0:37 
GeneralRe: Help regarding multiline textbox Pin
Luc Pattyn26-Feb-08 1:01
sitebuilderLuc Pattyn26-Feb-08 1:01 
Generalright click on grid Pin
sobhaniir25-Feb-08 1:48
sobhaniir25-Feb-08 1:48 
GeneralRe: right click on grid Pin
J a a n s25-Feb-08 4:51
professionalJ a a n s25-Feb-08 4:51 
GeneralSending Invitation to other system which is in same LAN Pin
NarVish25-Feb-08 1:44
NarVish25-Feb-08 1:44 
GeneralString iterations .... Pin
nareshss25-Feb-08 0:37
nareshss25-Feb-08 0:37 
GeneralRe: String iterations .... Pin
Harvey Saayman25-Feb-08 0:41
Harvey Saayman25-Feb-08 0:41 
GeneralRe: String iterations .... Pin
Himanshu Joshi25-Feb-08 0:46
Himanshu Joshi25-Feb-08 0:46 
GeneralRe: String iterations .... Pin
Harvey Saayman25-Feb-08 0:47
Harvey Saayman25-Feb-08 0:47 
GeneralRe: String iterations .... Pin
Harvey Saayman25-Feb-08 0:43
Harvey Saayman25-Feb-08 0:43 
GeneralRe: String iterations .... Pin
nareshss25-Feb-08 0:56
nareshss25-Feb-08 0:56 
GeneralRe: String iterations .... Pin
Harvey Saayman25-Feb-08 1:01
Harvey Saayman25-Feb-08 1:01 
GeneralRe: String iterations .... Pin
nareshss25-Feb-08 1:20
nareshss25-Feb-08 1:20 
GeneralRe: String iterations .... Pin
JavedWahid10-Sep-09 21:57
JavedWahid10-Sep-09 21:57 

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.