Форум программистов, компьютерный форум, киберфорум
C# Windows Forms
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 5.00/25: Рейтинг темы: голосов - 25, средняя оценка - 5.00
0 / 0 / 1
Регистрация: 25.10.2016
Сообщений: 5

Изменение записи в таблице средствами Visual Studio

26.02.2018, 13:35. Показов 4686. Ответов 1
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Всем доброго времени суток. Подключил базу данных из SQLServer'а к проекту в VisualStudio 2017. Есть таблицы:

dept

id_dept,
fullname


position

id_position,
fullname,
salary,
dept_id


В конструкторе набора данных создал запрос:

positionPrint

position.fullname -> Наименование,
salary -> ЗП,
dept.fullname -> Отдел

DragDrop'ом добавил в виде DataGridView positionPrint - созданный мною запрос, а так же
position - таблицу в БД, в виде набора control'ов

fullname -> textBox,
salary -> textBox,
dept_td -> ComboBox

В comboBox'e добавил
источник данных - deptBindingSource,
DisplayMember - fullname,
ValueMember - id_dept
Выбранное значение -> positionBindingSource -> dept_id

Перемещение в bindingSource'ах реализую с помощью события DataGridView.SelectionChanged

При попытке изменения записи в position когда пытаюсь выбрать другое значение в comboBox'e т.е. значение поля dept_id становится невозможным производить какие либо действия с формой: ни закрыть, не переключить фокус на другой control и т.д.

НО!!!

Когда я нажимаю кнопку Изменить затем сразу же Отменить(см. код и рисунки), затем не меняя позиции выделенной строки снова нажимаю кнопку изменить и снова пытаюсь выбрать другое значение в comboBox'e т.е. значение поля dept_id - изменение применяется, все работает корректно.



Мой код:
C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
 
namespace TOI1
{
    public partial class PositionForm : StdActForm
    {
        public PositionForm()
        {
            InitializeComponent();
            positionPrintDataGridView.ToMyStyle();
            positionPrintDataGridView.SelectionChanged += PositionPrintDataGridView_SelectionChanged;
        }
 
        private void PositionPrintDataGridView_SelectionChanged(object sender, EventArgs e)
        {
            DataGridViewRow curRow = positionPrintDataGridView.CurrentRow;
 
            if (curRow != null)
            {
                positionPrintBindingSource.Position = curRow.Index;
                positionBindingSource.Position = curRow.Index;
            }
        }
 
        private void endEdit()
        {
            positionBindingSource.EndEdit();
            deptBindingSource.EndEdit();
        }
        private void updateRow(DataRowView positionRow)
        {
            positionTableAdapter.Update(positionRow.Row);
        }
        private void fillAll()
        {
            this.deptTableAdapter.Fill(this.companyDataSet.dept);
            positionTableAdapter.Fill(companyDataSet.position);
            positionPrintTableAdapter.Fill(companyDataSet.positionPrint);
            tableAdapterManager.UpdateAll(companyDataSet);
        }
 
        private void managerRowVisibility(bool visibility)
        {
            rowManager.Visible = !(positionPrintDataGridView.Visible = visibility);
            enabledButs(visibility);
        }
        private void enabledButs(bool value)
        {
            butAdd.Enabled = butChange.Enabled = butRemove.Enabled = value;
        }
 
        private void PositionForm_Load(object sender, EventArgs e)
        {
            fillAll();
        }
 
        private void butAdd_Click(object sender, EventArgs e)
        {
            rowManager.Text = "Добавление";
            positionBindingSource.AddNew();
            positionBindingSource.MoveLast();
 
            managerRowVisibility(false);
        }
        private void butChange_Click(object sender, EventArgs e)
        {
            rowManager.Text = "Изменение";
            managerRowVisibility(false);
        }
        private void butCancel_Click(object sender, EventArgs e)
        {
            positionBindingSource.CancelEdit();
            managerRowVisibility(true);
        }
 
        private void butRemove_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Вы уверены что хотите удалить запись?", "Внимание", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
            {
                object positionRow = positionBindingSource.Current;
                positionBindingSource.Remove(positionRow);
 
                endEdit();
                updateRow(positionRow as DataRowView);
                fillAll();
            }
        }
        private void butOk_Click(object sender, EventArgs e)
        {
            endEdit();
            updateRow(positionBindingSource.Current as DataRowView);
            fillAll();
            managerRowVisibility(true);
        }
 
        private void PositionForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            if (rowManager.Visible)
            {
                MessageBox.Show($"Завершите {rowManager.Text.ToLower()}.", "Внимание", MessageBoxButtons.OK, MessageBoxIcon.Information);
                e.Cancel = true;
                return;
            }
        }
 
        private void dept_idComboBox_SelectedIndexChanged(object sender, EventArgs e)
        {
 
        }
    }
}
Код дизайнера:
C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
namespace TOI1
{
    partial class PositionForm : StdActForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
 
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
 
        #region Windows Form Designer generated code
 
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.Windows.Forms.Label fullnameLabel;
            System.Windows.Forms.Label salaryLabel;
            System.Windows.Forms.Label dept_idLabel;
            this.companyDataSet = new TOI1.companyDataSet();
            this.positionPrintBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.positionPrintTableAdapter = new TOI1.companyDataSetTableAdapters.positionPrintTableAdapter();
            this.tableAdapterManager = new TOI1.companyDataSetTableAdapters.TableAdapterManager();
            this.deptTableAdapter = new TOI1.companyDataSetTableAdapters.deptTableAdapter();
            this.positionTableAdapter = new TOI1.companyDataSetTableAdapters.positionTableAdapter();
            this.positionPrintDataGridView = new System.Windows.Forms.DataGridView();
            this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.positionBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.fullnameTextBox = new System.Windows.Forms.TextBox();
            this.salaryTextBox = new System.Windows.Forms.TextBox();
            this.dept_idComboBox = new System.Windows.Forms.ComboBox();
            this.deptBindingSource = new System.Windows.Forms.BindingSource(this.components);
            fullnameLabel = new System.Windows.Forms.Label();
            salaryLabel = new System.Windows.Forms.Label();
            dept_idLabel = new System.Windows.Forms.Label();
            this.rowManager.SuspendLayout();
            this.panelTop.SuspendLayout();
            this.panelRight.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.companyDataSet)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.positionPrintBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.positionPrintDataGridView)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.positionBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.deptBindingSource)).BeginInit();
            this.SuspendLayout();
            // 
            // butRemove
            // 
            this.butRemove.Click += new System.EventHandler(this.butRemove_Click);
            // 
            // butChange
            // 
            this.butChange.Click += new System.EventHandler(this.butChange_Click);
            // 
            // butAdd
            // 
            this.butAdd.Click += new System.EventHandler(this.butAdd_Click);
            // 
            // rowManager
            // 
            this.rowManager.Controls.Add(fullnameLabel);
            this.rowManager.Controls.Add(this.fullnameTextBox);
            this.rowManager.Controls.Add(salaryLabel);
            this.rowManager.Controls.Add(this.salaryTextBox);
            this.rowManager.Controls.Add(dept_idLabel);
            this.rowManager.Controls.Add(this.dept_idComboBox);
            this.rowManager.Size = new System.Drawing.Size(214, 509);
            this.rowManager.Visible = false;
            this.rowManager.Controls.SetChildIndex(this.butOk, 0);
            this.rowManager.Controls.SetChildIndex(this.butCancel, 0);
            this.rowManager.Controls.SetChildIndex(this.dept_idComboBox, 0);
            this.rowManager.Controls.SetChildIndex(dept_idLabel, 0);
            this.rowManager.Controls.SetChildIndex(this.salaryTextBox, 0);
            this.rowManager.Controls.SetChildIndex(salaryLabel, 0);
            this.rowManager.Controls.SetChildIndex(this.fullnameTextBox, 0);
            this.rowManager.Controls.SetChildIndex(fullnameLabel, 0);
            // 
            // butCancel
            // 
            this.butCancel.Location = new System.Drawing.Point(119, 480);
            this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
            // 
            // butOk
            // 
            this.butOk.Location = new System.Drawing.Point(38, 480);
            this.butOk.Click += new System.EventHandler(this.butOk_Click);
            // 
            // panelTop
            // 
            this.panelTop.Size = new System.Drawing.Size(879, 50);
            // 
            // labName
            // 
            this.labName.Size = new System.Drawing.Size(127, 50);
            this.labName.Text = "Должности";
            // 
            // panelRight
            // 
            this.panelRight.Location = new System.Drawing.Point(729, 50);
            this.panelRight.Size = new System.Drawing.Size(150, 509);
            // 
            // fullnameLabel
            // 
            fullnameLabel.AutoSize = true;
            fullnameLabel.Location = new System.Drawing.Point(12, 18);
            fullnameLabel.Name = "fullnameLabel";
            fullnameLabel.Size = new System.Drawing.Size(55, 13);
            fullnameLabel.TabIndex = 2;
            fullnameLabel.Text = "fullname:";
            // 
            // salaryLabel
            // 
            salaryLabel.AutoSize = true;
            salaryLabel.Location = new System.Drawing.Point(12, 46);
            salaryLabel.Name = "salaryLabel";
            salaryLabel.Size = new System.Drawing.Size(39, 13);
            salaryLabel.TabIndex = 4;
            salaryLabel.Text = "salary:";
            // 
            // dept_idLabel
            // 
            dept_idLabel.AutoSize = true;
            dept_idLabel.Location = new System.Drawing.Point(12, 74);
            dept_idLabel.Name = "dept_idLabel";
            dept_idLabel.Size = new System.Drawing.Size(47, 13);
            dept_idLabel.TabIndex = 6;
            dept_idLabel.Text = "dept id:";
            // 
            // companyDataSet
            // 
            this.companyDataSet.DataSetName = "companyDataSet";
            this.companyDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // positionPrintBindingSource
            // 
            this.positionPrintBindingSource.DataMember = "positionPrint";
            this.positionPrintBindingSource.DataSource = this.companyDataSet;
            // 
            // positionPrintTableAdapter
            // 
            this.positionPrintTableAdapter.ClearBeforeFill = true;
            // 
            // tableAdapterManager
            // 
            this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
            this.tableAdapterManager.deptPrintTableAdapter = null;
            this.tableAdapterManager.deptTableAdapter = this.deptTableAdapter;
            this.tableAdapterManager.employeeTableAdapter = null;
            this.tableAdapterManager.positionTableAdapter = this.positionTableAdapter;
            this.tableAdapterManager.UpdateOrder = TOI1.companyDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
            // 
            // deptTableAdapter
            // 
            this.deptTableAdapter.ClearBeforeFill = true;
            // 
            // positionTableAdapter
            // 
            this.positionTableAdapter.ClearBeforeFill = true;
            // 
            // positionPrintDataGridView
            // 
            this.positionPrintDataGridView.AutoGenerateColumns = false;
            this.positionPrintDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.positionPrintDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.dataGridViewTextBoxColumn1,
            this.dataGridViewTextBoxColumn2,
            this.dataGridViewTextBoxColumn3,
            this.dataGridViewTextBoxColumn4});
            this.positionPrintDataGridView.DataSource = this.positionPrintBindingSource;
            this.positionPrintDataGridView.Location = new System.Drawing.Point(353, 197);
            this.positionPrintDataGridView.Name = "positionPrintDataGridView";
            this.positionPrintDataGridView.Size = new System.Drawing.Size(278, 220);
            this.positionPrintDataGridView.TabIndex = 4;
            // 
            // dataGridViewTextBoxColumn1
            // 
            this.dataGridViewTextBoxColumn1.DataPropertyName = "Должность";
            this.dataGridViewTextBoxColumn1.HeaderText = "Должность";
            this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
            // 
            // dataGridViewTextBoxColumn2
            // 
            this.dataGridViewTextBoxColumn2.DataPropertyName = "Заработная плата";
            this.dataGridViewTextBoxColumn2.HeaderText = "Заработная плата";
            this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
            // 
            // dataGridViewTextBoxColumn3
            // 
            this.dataGridViewTextBoxColumn3.DataPropertyName = "Отдел";
            this.dataGridViewTextBoxColumn3.HeaderText = "Отдел";
            this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
            // 
            // dataGridViewTextBoxColumn4
            // 
            this.dataGridViewTextBoxColumn4.DataPropertyName = "dept_id";
            this.dataGridViewTextBoxColumn4.HeaderText = "dept_id";
            this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
            this.dataGridViewTextBoxColumn4.Visible = false;
            // 
            // positionBindingSource
            // 
            this.positionBindingSource.DataMember = "position";
            this.positionBindingSource.DataSource = this.companyDataSet;
            // 
            // fullnameTextBox
            // 
            this.fullnameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.positionBindingSource, "fullname", true));
            this.fullnameTextBox.Location = new System.Drawing.Point(73, 15);
            this.fullnameTextBox.Name = "fullnameTextBox";
            this.fullnameTextBox.Size = new System.Drawing.Size(121, 22);
            this.fullnameTextBox.TabIndex = 3;
            // 
            // salaryTextBox
            // 
            this.salaryTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.positionBindingSource, "salary", true));
            this.salaryTextBox.Location = new System.Drawing.Point(73, 43);
            this.salaryTextBox.Name = "salaryTextBox";
            this.salaryTextBox.Size = new System.Drawing.Size(121, 22);
            this.salaryTextBox.TabIndex = 5;
            // 
            // dept_idComboBox
            // 
            this.dept_idComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.positionBindingSource, "dept_id", true));
            this.dept_idComboBox.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.positionBindingSource, "dept_id", true));
            this.dept_idComboBox.DataSource = this.deptBindingSource;
            this.dept_idComboBox.DisplayMember = "fullname";
            this.dept_idComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.dept_idComboBox.Location = new System.Drawing.Point(73, 71);
            this.dept_idComboBox.Name = "dept_idComboBox";
            this.dept_idComboBox.Size = new System.Drawing.Size(121, 21);
            this.dept_idComboBox.TabIndex = 7;
            this.dept_idComboBox.ValueMember = "id_dept";
            this.dept_idComboBox.SelectedIndexChanged += new System.EventHandler(this.dept_idComboBox_SelectedIndexChanged);
            // 
            // deptBindingSource
            // 
            this.deptBindingSource.DataMember = "dept";
            this.deptBindingSource.DataSource = this.companyDataSet;
            // 
            // PositionForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(879, 559);
            this.Controls.Add(this.positionPrintDataGridView);
            this.Name = "PositionForm";
            this.Text = "Должности";
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PositionForm_FormClosing);
            this.Load += new System.EventHandler(this.PositionForm_Load);
            this.Controls.SetChildIndex(this.panelTop, 0);
            this.Controls.SetChildIndex(this.panelRight, 0);
            this.Controls.SetChildIndex(this.positionPrintDataGridView, 0);
            this.Controls.SetChildIndex(this.rowManager, 0);
            this.rowManager.ResumeLayout(false);
            this.rowManager.PerformLayout();
            this.panelTop.ResumeLayout(false);
            this.panelTop.PerformLayout();
            this.panelRight.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.companyDataSet)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.positionPrintBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.positionPrintDataGridView)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.positionBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.deptBindingSource)).EndInit();
            this.ResumeLayout(false);
 
        }
 
        #endregion
 
        private companyDataSet companyDataSet;
        private System.Windows.Forms.BindingSource positionPrintBindingSource;
        private companyDataSetTableAdapters.positionPrintTableAdapter positionPrintTableAdapter;
        private companyDataSetTableAdapters.TableAdapterManager tableAdapterManager;
        private System.Windows.Forms.DataGridView positionPrintDataGridView;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
        private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
        private System.Windows.Forms.BindingSource positionBindingSource;
        private companyDataSetTableAdapters.positionTableAdapter positionTableAdapter;
        private System.Windows.Forms.TextBox fullnameTextBox;
        private System.Windows.Forms.TextBox salaryTextBox;
        private System.Windows.Forms.ComboBox dept_idComboBox;
        private System.Windows.Forms.BindingSource deptBindingSource;
        private companyDataSetTableAdapters.deptTableAdapter deptTableAdapter;
    }
}
Миниатюры
Изменение записи в таблице средствами Visual Studio   Изменение записи в таблице средствами Visual Studio  
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
26.02.2018, 13:35
Ответы с готовыми решениями:

Подключиться к таблице базы SQL 2000 средствами Visual Studio 2008
Добрый день помогите подключиться к таблице базы SQL 2000 по средствам visual studio 2008, необходимо работать с datagridview, который...

Удаление или изменение записи невозможно, в таблице имеются связанные записи
Доброй ночи. при удалении из родительской таблицы появляется ошибка &quot;удаление или изменение записи невозможно в таблице имеются связанные...

Изменение записи в таблице при добавлении записи в другую таблицу
Есть две таблицы TProduct(товары) и TIncoming(приход) с полями &quot;наименование&quot; и &quot;количество&quot;. Нужно, чтобы при добавлении строки в...

1
0 / 0 / 1
Регистрация: 25.10.2016
Сообщений: 5
26.02.2018, 14:53  [ТС]
PS:
Если DisplayMember - id_dept - все работает корректно
Или если ComboBox заменить ListBox

Добавлено через 1 час 5 минут
Решен.
В дизайнере поменял c:
C#
1
2
this.dept_idComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.positionBindingSource, "dept_id", true));
this.dept_idComboBox.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.positionBindingSource, "dept_id", true));
на:
C#
1
2
this.dept_idComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.positionBindingSource, "dept_id", false));
this.dept_idComboBox.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.positionBindingSource, "dept_id", false));
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
26.02.2018, 14:53
Помогаю со студенческими работами здесь

Изменение первой в таблице записи (одного кортежа) при добавление новой записи
Добрый день! При добавлении новой записи через форму ДобСтуд в таблице Студ у первой записи меняется Номер группы. Причем новая запись...

Заполнение DataGrid средствами Visual Studio
Добрый день, не могу разобраться c datagrid в WPF. Можно ли, визуальными средствами Visual Studio осуществить заполнение DataGrid, как...

Тестирование ПО средствами Visual Studio 2010
Здравствуйте! Хотел бы узнать, где можно найти литературу, сайт, форум(рус.) где подробно рассказывается о тестирование ПО средствами...

Создание дистрибутивов средствами Visual Studio
В Visual Studio существует проект Setup Project. Вопрос заключется в следующем. Где нибуть есть нормальное описание как создавать при...

Создание форм отчетности средствами Visual studio
Здравствуйте! Подскажите, пожалуйста, как создать форму отчетности (бухгалтерскую) и автоматическое её заполнение из базы данных. Ума...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
2
Ответ Создать тему
Новые блоги и статьи
SDL3 для Desktop (MinGW): Рисуем цветные прямоугольники с помощью рисовальщика SDL3 на Си и C++
8Observer8 17.03.2026
Содержание блога Финальные проекты на Си и на C++: finish-rectangles-sdl3-c. zip finish-rectangles-sdl3-cpp. zip
Символические и жёсткие ссылки в Linux.
algri14 15.03.2026
Существует два типа ссылок — символические и жёсткие. Ссылка в Linux — это запись в каталоге, которая может указывать либо на inode «файла-ИСТОЧНИКА», тогда это будет «жёсткая ссылка» (hard link),. . .
[Owen Logic] Поддержание уровня воды в резервуаре количеством включённых насосов: моделирование и выбор регулятора
ФедосеевПавел 14.03.2026
Поддержание уровня воды в резервуаре количеством включённых насосов: моделирование и выбор регулятора ВВЕДЕНИЕ Выполняя задание на управление насосной группой заполнения резервуара,. . .
делаю науч статью по влиянию грибов на сукцессию
anaschu 13.03.2026
прикрепляю статью
SDL3 для Desktop (MinGW): Создаём пустое окно с нуля для 2D-графики на SDL3, Си и C++
8Observer8 10.03.2026
Содержание блога Финальные проекты на Си и на C++: hello-sdl3-c. zip hello-sdl3-cpp. zip Результат:
Установка CMake и MinGW 13.1 для сборки С и C++ приложений из консоли и из Qt Creator в EXE
8Observer8 10.03.2026
Содержание блога MinGW - это коллекция инструментов для сборки приложений в EXE. CMake - это система сборки приложений. Здесь описаны базовые шаги для старта программирования с помощью CMake и. . .
Как дизайн сайта влияет на конверсию: 7 решений, которые реально повышают заявки
Neotwalker 08.03.2026
Многие до сих пор воспринимают дизайн сайта как “красивую оболочку”. На практике всё иначе: дизайн напрямую влияет на то, оставит человек заявку или уйдёт через несколько секунд. Даже если у вас. . .
Модульная разработка через nuget packages
DevAlt 07.03.2026
Сложившийся в . Net-среде способ разработки чаще всего предполагает монорепозиторий в котором находятся все исходники. При создании нового решения, мы просто добавляем нужные проекты и имеем. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru