I need a help in the code below ... I need to get the SQL database float value to be in the Brazilian Real Number Set format in a C # (WPF) project in a ComboBox (such as Double). That is, bring it as String in the IntemsSource and not be in this format "0.000", but in this "0.000".
Code:
var query_Fardo = from f in oDB.tabProdutos
where f.Codigo == Convert.ToInt32(txtCodigoApontaPrd.Text)
select f.Fardo;
CmBox_FardoApontaPrd.ItemsSource = query_Fardo;
CmBox_FardoApontaPrd.ItemStringFormat = "0,000";//Não funciona
Thanks for the support ...