Click here to Skip to main content
15,912,072 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
whats is the function of getdecimal method in c#?
Posted

1 solution

If you mean the DataReader.GetDecimal method, then MSDN is your friend: http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.getdecimal(v=vs.110).aspx[^]

As it says so clearly:

"Gets the value of the specified column as a Decimal object."

I.e.: You tell it which column, and it gets the value as a decimal value.

How hard can it be?
 
Share this answer
 
Comments
Kornfeld Eliyahu Peter 25-May-14 5:23am    
Ha! Try to get the decimal value of 'I can't use Google' and than talk!!!
Member 10690757 1-Jun-14 4:01am    
fine

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900