Click here to Skip to main content
16,013,642 members
Home / Discussions / C#
   

C#

 
QuestionOS Request [Solved] Pin
Wamuti19-Feb-10 21:17
Wamuti19-Feb-10 21:17 
AnswerRe: OS Request Pin
Chetan Patel19-Feb-10 23:08
Chetan Patel19-Feb-10 23:08 
GeneralRe: OS Request Pin
Wamuti19-Feb-10 23:14
Wamuti19-Feb-10 23:14 
QuestionHow to Convert Image data into Data formet through OCR scaning technology Pin
meygnanam.p19-Feb-10 19:05
meygnanam.p19-Feb-10 19:05 
AnswerRe: How to Convert Image data into Data formet through OCR scaning technology Pin
Saksida Bojan19-Feb-10 20:47
Saksida Bojan19-Feb-10 20:47 
AnswerRe: How to Convert Image data into Data formet through OCR scaning technology Pin
Wamuti19-Feb-10 21:32
Wamuti19-Feb-10 21:32 
QuestionFormatting text in text boxes Pin
ASPnoob19-Feb-10 16:59
ASPnoob19-Feb-10 16:59 
AnswerRe: Formatting text in text boxes Pin
tonyonlinux19-Feb-10 17:14
tonyonlinux19-Feb-10 17:14 
Not sure if I totally understand your question as to what your wanting but I think what your wanting to do is convert the text to a decimal.

basically if you have Price 1.99 in your text box your wanting to convert that to a decimal do i Understand you correct ? If so, then do this

Decimal myConvertedString = (Decimal)textbox.text;

or are you trying to simply get the value from your getInterestRate method and put it in your text box ?
If so then do this

txtPercent.Text = (myMoney.getInterestRate).tostring();


or if your wanting to split the values so you get the numbers to the right of the decimal and the numbers to the left in separate indexes then use a split.
String[] splitstring = null;
         string stringtosplit = txtPercent.text;
            //            splitstring = stringtosplit.Split('.');


this way you will end up having an array with the number(s) to the left of the . stored as index 0
and the numbers to the right of the decimal stored as index 1;

hope this helps.
GeneralRe: Formatting text in text boxes Pin
AspDotNetDev19-Feb-10 17:19
protectorAspDotNetDev19-Feb-10 17:19 
AnswerRe: Formatting text in text boxes Pin
AspDotNetDev19-Feb-10 17:16
protectorAspDotNetDev19-Feb-10 17:16 
Questionhow would i do a groupby in this instance ?[modified] Pin
tonyonlinux19-Feb-10 16:54
tonyonlinux19-Feb-10 16:54 
AnswerRe: how would i do a groupby in this instance Pin
Dan Mos19-Feb-10 17:21
Dan Mos19-Feb-10 17:21 
GeneralRe: how would i do a groupby in this instance Pin
tonyonlinux19-Feb-10 18:05
tonyonlinux19-Feb-10 18:05 
GeneralRe: how would i do a groupby in this instance Pin
Dan Mos19-Feb-10 18:41
Dan Mos19-Feb-10 18:41 
GeneralRe: how would i do a groupby in this instance Pin
tonyonlinux19-Feb-10 18:55
tonyonlinux19-Feb-10 18:55 
QuestionMoving form without showing contents Pin
desto-tj19-Feb-10 14:55
desto-tj19-Feb-10 14:55 
GeneralREPOST Pin
AspDotNetDev19-Feb-10 15:07
protectorAspDotNetDev19-Feb-10 15:07 
AnswerRe: Moving form without showing contents Pin
Som Shekhar19-Feb-10 18:57
Som Shekhar19-Feb-10 18:57 
GeneralRe: Moving form without showing contents Pin
desto-tj19-Feb-10 20:38
desto-tj19-Feb-10 20:38 
GeneralRe: Moving form without showing contents Pin
Som Shekhar19-Feb-10 20:59
Som Shekhar19-Feb-10 20:59 
GeneralRe: Moving form without showing contents Pin
desto-tj19-Feb-10 21:08
desto-tj19-Feb-10 21:08 
GeneralRe: Moving form without showing contents Pin
Dan Mos20-Feb-10 21:16
Dan Mos20-Feb-10 21:16 
QuestionAbout property grid. Pin
gaferrero19-Feb-10 13:57
gaferrero19-Feb-10 13:57 
AnswerRe: About property grid. Pin
AspDotNetDev19-Feb-10 14:13
protectorAspDotNetDev19-Feb-10 14:13 
Questioninternet Pin
sanforjackass19-Feb-10 11:58
sanforjackass19-Feb-10 11:58 

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.