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.
Good man James helped me learn die roll board game programming in Java,
and I applied it on Ladders and Snakes. Made one in Java. Now I'm learning to do ...
Hi, I have been given a project to finish in school in 3 phases, the thing is I am not that good when it comes to programing. The project was ...
hi james cherril
I am doing a voting system application of which I have to hand up today. I am getting a runtime error when I entered a record and ...