Теперь исправил форму пользователя

This commit is contained in:
Илья 2024-05-08 00:33:46 +04:00
parent 6d61920b77
commit a9f8d481df

View File

@ -110,8 +110,8 @@ namespace ElectronicDiaryView
if (e.RowIndex >= 0)
{
DataGridViewRow row = dataGridView.Rows[e.RowIndex];
textBoxLogin.Text = row.Cells["Name"].Value.ToString();
textBoxEmail.Text = row.Cells["Type"].Value.ToString();
textBoxLogin.Text = row.Cells["Login"].Value.ToString();
textBoxEmail.Text = row.Cells["Email"].Value.ToString();
textBoxPassword.Text = row.Cells["Password"].Value.ToString();
textBoxPhone.Text = row.Cells["PhoneNumber"].Value.ToString();
comboBoxAccessLevel.SelectedValue = row.Cells["AccessLevel"].Value.ToString();