2
I have a Datagridview with numerical values and some of them represent monetary values, but from the database comes only the number and wanted to put the currency symbol in front of the value.
This is the code I use to load my Datagridview;
public void carregarDataGridView3()
{
Abastecimento_Negocio abastecimento_Negocio = new Abastecimento_Negocio();
dataGridView3.DataSource = null;
dataGridView3.DataSource = abastecimento_Negocio.conusltarMedias(mesPassado);
dataGridView3.Update();
dataGridView3.Refresh();
dataGridView3.ClearSelection();
FontDataGrid3();
}
My idea was to select the column I wanted and concatenate the value inside Cell with the symbol.
In these two values wanted to put the symbol of the coin, it is possible?
Thanks for the help. Thanks also for sharing about C2.
– Diogo Sousa