P
perspolis
hi everyone
I have a table in Sql that have 2 columns name qunatity and Unitprice;
In my application I create an additional column name Total and set it's
ColumnExpression just to show quantity*UnitPrice and in sqlDataAdoptor's
commands
I just update the first 2columns(mean quantity and UnitPrice)
but unfortunately when use SqlDataAdoptor.Update method to update
DataTable,it gives me the followinf error "Cannot change ReadOnly property
for the expression column"
I don't know why??
becuase Total column just show a computed column and dosen't have any impact
on my DataTable.
plz help me
I have a table in Sql that have 2 columns name qunatity and Unitprice;
In my application I create an additional column name Total and set it's
ColumnExpression just to show quantity*UnitPrice and in sqlDataAdoptor's
commands
I just update the first 2columns(mean quantity and UnitPrice)
but unfortunately when use SqlDataAdoptor.Update method to update
DataTable,it gives me the followinf error "Cannot change ReadOnly property
for the expression column"

I don't know why??
becuase Total column just show a computed column and dosen't have any impact
on my DataTable.
plz help me