Posted on: 1/6/2015 3:46:16 PM | Views : 662

I have a field in my database which is a decimal (18, 3).
Then, since when the database first retrieves data, I want to populate my textboxes with zero, I do this:
ptt.FTE_2 = drEmp["myField"] != DBNull.Value ? decimal.Parse(drEmp["myField"].ToString()) : 0; This, then, populates the textboxes with 0 when the value in the DB is null.
What I'd REALLY like to do is actually have it populate with '0.00', but I get an error that there is no implicit conversion between 'decimal' and 'double' Is what I'm trying to do actually doable? If so, how can I do it.

Go to the complete details ...