Hi,
When I try following column, I get Runtime error:'Cannot convert string value to boolean'
row.Cells(
"statuscode").SetValue(strStatusCode, True)
My Grid is bound to a datasource and all I am trying is to set new value based on user action. I havn't defined column data type explicitly. The cell value does contain string like 'Settled' when bound to the data source.
I am not sure why it is treating the data type as boolean. Will appreciate any insights you may provide.
thank you
Yogesh
Hi Yogesh,
Are you getting an Exception? If so, can you post the call stack?
Are you certain that the "statuscode" field in the data source is a string and not a boolean? Have you checked the DataType property on the grid column?