Hello all
my problem is that for some reason, a simple assignment isn't working.
the dataGridView is binded to DB and im trying to assign a value type string to a column of type string
bindingSourceSchema.DataSource = null; dgwSchema.Columns["colID"].DataPropertyName = "APP_ID"; dgwSchema.Columns["colName"].DataPropertyName = "DESCRIPTION"; dgwSchema.Columns["colTextbox"].DataPropertyName = "APP_ARGS"; dgwSchema.Columns["colTextbox"].HeaderText = "Parameters"; dgwSchema.Columns["colLink"].DataPropertyName = "APP_PATH"; dgwSchema.Columns["colLink"].HeaderText = "Path";
DataGridViewLinkColumn colLink = (DataGridViewLinkColumn)dgwSchema.Columns["colLink"]; colLink.UseColumnTextForLinkValue = true; colLink.Text = "Edit"; bindingSourceSchema.DataSource = SchemaDB.GetGenericApps(); . . .
if (openFileDialog.ShowDialog() == DialogResult.OK) { dgwSchema.CurrentRow.Cells["colLink"].Value = openFileDialog.FileName;
}
|
Thanks
Eyal