This commit is contained in:
SheinaSasha 2024-12-19 14:44:49 +04:00
parent ea30177fe1
commit d381367895
4 changed files with 7 additions and 7 deletions

View File

@ -79,6 +79,9 @@ namespace ShoeStore.Forms
}
private void comboBoxFactory_SelectedIndexChanged(object sender, EventArgs e)
{
}
}
}

View File

@ -111,7 +111,7 @@ namespace ShoeStore.Forms
Name = "FormShoess";
StartPosition = FormStartPosition.CenterParent;
Text = "Обувь";
Load += FormStores_Load;
Load += FormShoess_Load;
panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)dataGridViewData).EndInit();
ResumeLayout(false);

View File

@ -116,10 +116,7 @@ namespace ShoeStore.Forms
{
}
private void FormStores_Load(object sender, EventArgs e)
{
}
}

View File

@ -119,7 +119,7 @@ WHERE Id=@id";
try
{
using var connection = new
SqlConnection(_connectionString.ConnectionString);
NpgsqlConnection(_connectionString.ConnectionString);
var querySelect = "SELECT * FROM Factorys";
var factorys = connection.Query<Factory>(querySelect);
_logger.LogDebug("Полученные объекты: {json}",