I'm trying to navigate a list of objects and persist their data in SqlServer:
foreach (var item in pedidos)
{
cmd.CommandText = "INSERT INTO MinhaTabela (Coluna_A, Coluna_B, Coluna_C) " +
"VALUES (@Val_A, @Val_B, @Val_C)";
c...
asked by
20.11.2017 / 13:54