How can i convert from sql money datatype to double in c#.
I first cast it to a string, then to a double and it worked:
using(SqlConnection conn = new SqlConnection(CDB_SqlLister.csb.ToString()))
string strSQL = "SELECT * from E.dbo.has_money";
using (SqlDataReader rdr = (new SqlCommand(strSQL, conn)).ExecuteReader())
Are you able to help answer this sponsored question?
Questions asked by members who have earned a lot of community kudos are featured in order to give back and encourage quality replies.
hi. i have a really basic question (really new to python). how do i read an entire binary file? from https://www.devdungeon.com/content/working-binary-data-python , data = binary_file.read() is to read the whole ...
data = binary_file.read()
A person starts out as the "Curator" and stands at the end of a field. Everyone else playing stands at the far end (distance depends upon playing area selected). The ...
I am currently working on a program to track my mile for my monthly expense report for work. Everything is working great, however, I can not for the life of ...