double BIRIM_FIYAT; if (double.TryParse(input, out BIRIM_FIYAT)) { using (var connection = new SqlConnection("...")) using (var command = new SqlCommand("INSERT INTO REPORT_DETAILS (BIRIM_FIYAT) VALUES (@BIRIM_FIYAT)", connection)) { command.Parameters.AddWithValue("@BIRIM_FIYAT", BIRIM_FIYAT); connection.Open(); command.ExecuteNonQuery(); } }
double value = 1.44;
String.Format(System.Globalization.CultureInfo.InvariantCulture,"{0}", value);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)