ltUP.Text = dr["UnitPrice"].ToString();
{0:#,###.00};
ltUP.Text = dr["UnitPrice"].ToString("{0:#,###.00}");
ltUP.Text = dr["UnitPrice","{0:#,###.00}"].ToString();
tUP.Text = ((double)dr["UnitPrice"]).ToString("{0:#,###.00}");
ltUP.Text = ((double)dr["UnitPrice"]).ToString("#,###.00");
FLOAT
double
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)