1
I have a database with some tables to control software sales, and among these tables, I have software that contains the fields, beginning of the contract and end of the contract. Only when I select to appear like this ''21/12/2016', they appear like this in the grid ''12/21/2016' ?
private void MontarLista()
{
conexao.ConnectionString = strconexao;
cmd.CommandText = "SELECT * FROM SOFTWARES";
cmd.Connection = conexao;
conexao.Open();
cmd.CommandType = CommandType.Text;
Dr = cmd.ExecuteReader();
DtSoftwares.Clear();
DtSoftwares.Load(Dr);
dataGridView1.DataSource = DtSoftwares;
conexao.Close();
decimal soma = 0;
foreach (DataGridViewRow dr in dataGridView1.Rows)
{
magnetun.mdf table software columns I need to start and end
– Rennan Hanna
work with sql server database, but am using local . mdf
– Rennan Hanna
Web Forms or Winds Forms?
– Marco Souza