Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
Editing a Cell Value
posted

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