![.net](https://habrastorage.org/r/w120/webt/5b/25/ab/5b25abf04a38b226032521.png)
.NET
0
Вклад в тег
int index = this.editingDataGridView.Columns.IndexOf(comboBoxColumn);
int index = comboBoxColumn.Index;
(this.editingDataGridView.Rows[i].Cells[index] as DataGridViewComboBoxCell).Value = tables.FirstOrDefault(c =>c.Table_ID == columns[i].Table_ID);
ServiceMetadataBehavior behavior = new ServiceMetadataBehavior();
behavior.HttpGetEnabled = true;
serviceHost.Description.Behaviors.Add(behavior);
serviceHost.AddServiceEndpoint(typeof(IMetadataExchange), MetadataExchangeBindings.CreateMexHttpBinding(), "mex");