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.
Hello! I am developing a POS System. I have need to print Sales receipt. I have no physical printer to test my printing but i have print on xps document. ...
i need to convert this Python code to C# .Tried Some online converters nothing Worked out so far.Please Help.
from PIL import Image, ImageTk
import Tkinter ...
I used npm node-persist but I wish to use it in two modules as well, 'set()' and 'get()'
passing as; set(foo, bar, storage);
set(foo, bar, storage);
my problem ...