A
Andrea Biagini
Hi all,
I have a DataTable Column which expression Property
is valorized like this:
Tbl.Columns["Elimina"].Expression =
"'<INPUT type=\"button\" value=\"Elimina\" class=\"Testo\"
onclick=\"CallDeleteDialogBox(' + " +
"CONVERT(" + Tbl.PrimaryKey[0].ColumnName + ",System.String)" +
"+ ')\">'";
(I want to show a button that calls a dialogbox)
I cannot update this table, it causes a exception:
"Impossible to modify ReadOnly property of the expression column".
Is it a standard behavior (you cannot update a table with an
expression column)?
Thanks.
Andrea.
I have a DataTable Column which expression Property
is valorized like this:
Tbl.Columns["Elimina"].Expression =
"'<INPUT type=\"button\" value=\"Elimina\" class=\"Testo\"
onclick=\"CallDeleteDialogBox(' + " +
"CONVERT(" + Tbl.PrimaryKey[0].ColumnName + ",System.String)" +
"+ ')\">'";
(I want to show a button that calls a dialogbox)
I cannot update this table, it causes a exception:
"Impossible to modify ReadOnly property of the expression column".
Is it a standard behavior (you cannot update a table with an
expression column)?
Thanks.
Andrea.