Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: Richtextbox and E-mail Pin
Luc Pattyn9-Jan-08 6:49
sitebuilderLuc Pattyn9-Jan-08 6:49 
GeneralTreeView Expand/Collapse animation Pin
Jamie Nordmeyer9-Jan-08 6:12
Jamie Nordmeyer9-Jan-08 6:12 
GeneralRe: TreeView Expand/Collapse animation Pin
led mike9-Jan-08 6:53
led mike9-Jan-08 6:53 
GeneralRe: TreeView Expand/Collapse animation Pin
Jamie Nordmeyer9-Jan-08 7:26
Jamie Nordmeyer9-Jan-08 7:26 
GeneralRe: TreeView Expand/Collapse animation Pin
led mike9-Jan-08 7:51
led mike9-Jan-08 7:51 
GeneralRe: TreeView Expand/Collapse animation Pin
Jamie Nordmeyer9-Jan-08 10:35
Jamie Nordmeyer9-Jan-08 10:35 
GeneralRe: TreeView Expand/Collapse animation Pin
Patrick Etc.9-Jan-08 13:02
Patrick Etc.9-Jan-08 13:02 
QuestionBeginning Programmer needs a little help Pin
Nekosohana9-Jan-08 6:04
Nekosohana9-Jan-08 6:04 
Greetings,

I am working on a project that is way to big for me, but I thought I would try and tackle it anyway as an opportunity to learn more.

Within my application I am trying to develop a static method that I can use to convert a time such as 1:15 (1 hour 15 minutes) to a decimal.

I understand the formula, since I used it in Excel before. I need to take the input value from the user, pass it to the method, and multiply it by 24. This will give me the decimal value that I need.

My question is strangly simple, and I am still just stumped by it... what data type do I need to use to get my user information into my method? It's just the colon in the user value that throws me off.

Can I just take in "xx:xx" as a string value and then use "Convert.ToDecimal"?

I'm sorry if I am not clear enough. If it's not, let me know and I will be happy to rephrase.

Beginning Programmer - Still learning as much as possible.

GeneralRe: Beginning Programmer needs a little help Pin
Luc Pattyn9-Jan-08 6:54
sitebuilderLuc Pattyn9-Jan-08 6:54 
GeneralRe: Beginning Programmer needs a little help Pin
Nekosohana9-Jan-08 6:58
Nekosohana9-Jan-08 6:58 
GeneralCom DLL file reference access ... Pin
Shahin779-Jan-08 5:37
Shahin779-Jan-08 5:37 
GeneralRe: Com DLL file reference access ... Pin
Dave Kreskowiak9-Jan-08 7:16
mveDave Kreskowiak9-Jan-08 7:16 
GeneralRe: Com DLL file reference access ... Pin
Shahin779-Jan-08 7:27
Shahin779-Jan-08 7:27 
GeneralRe: Com DLL file reference access ... Pin
Dave Kreskowiak9-Jan-08 7:48
mveDave Kreskowiak9-Jan-08 7:48 
GeneralRe: Com DLL file reference access ... Pin
Shahin779-Jan-08 8:19
Shahin779-Jan-08 8:19 
GeneralRe: Com DLL file reference access ... [modified] Pin
Dave Kreskowiak9-Jan-08 9:14
mveDave Kreskowiak9-Jan-08 9:14 
QuestionHow Do I Prohibit Users From Sorting In A DataGridView Pin
Joe Marchionna9-Jan-08 5:24
Joe Marchionna9-Jan-08 5:24 
GeneralRe: How Do I Prohibit Users From Sorting In A DataGridView Pin
led mike9-Jan-08 5:33
led mike9-Jan-08 5:33 
GeneralRe: How Do I Prohibit Users From Sorting In A DataGridView Pin
Joe Marchionna9-Jan-08 5:40
Joe Marchionna9-Jan-08 5:40 
GeneralRe: How Do I Prohibit Users From Sorting In A DataGridView Pin
led mike9-Jan-08 6:03
led mike9-Jan-08 6:03 
GeneralRe: How Do I Prohibit Users From Sorting In A DataGridView Pin
Joe Marchionna9-Jan-08 8:42
Joe Marchionna9-Jan-08 8:42 
QuestionHow to delete a row from a dataGrid Pin
Imran Adam9-Jan-08 5:22
Imran Adam9-Jan-08 5:22 
GeneralSerializing ints, enums in hexidecimal Pin
Skippums9-Jan-08 4:50
Skippums9-Jan-08 4:50 
GeneralRe: Serializing ints, enums in hexidecimal Pin
Le centriste9-Jan-08 5:21
Le centriste9-Jan-08 5:21 
GeneralRe: Serializing ints, enums in hexidecimal Pin
Skippums9-Jan-08 8:10
Skippums9-Jan-08 8:10 

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.