Теперь исправил форму пользователя
This commit is contained in:
parent
6d61920b77
commit
a9f8d481df
@ -110,8 +110,8 @@ namespace ElectronicDiaryView
|
|||||||
if (e.RowIndex >= 0)
|
if (e.RowIndex >= 0)
|
||||||
{
|
{
|
||||||
DataGridViewRow row = dataGridView.Rows[e.RowIndex];
|
DataGridViewRow row = dataGridView.Rows[e.RowIndex];
|
||||||
textBoxLogin.Text = row.Cells["Name"].Value.ToString();
|
textBoxLogin.Text = row.Cells["Login"].Value.ToString();
|
||||||
textBoxEmail.Text = row.Cells["Type"].Value.ToString();
|
textBoxEmail.Text = row.Cells["Email"].Value.ToString();
|
||||||
textBoxPassword.Text = row.Cells["Password"].Value.ToString();
|
textBoxPassword.Text = row.Cells["Password"].Value.ToString();
|
||||||
textBoxPhone.Text = row.Cells["PhoneNumber"].Value.ToString();
|
textBoxPhone.Text = row.Cells["PhoneNumber"].Value.ToString();
|
||||||
comboBoxAccessLevel.SelectedValue = row.Cells["AccessLevel"].Value.ToString();
|
comboBoxAccessLevel.SelectedValue = row.Cells["AccessLevel"].Value.ToString();
|
||||||
|
Loading…
Reference in New Issue
Block a user