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
30
ultragrid column data type change
posted

if cell value is negative then set in bracket . how?

eg. If cell value is -45 then change the cell value to "(45)" like that.

I am doing like that.

UltragridRow.Cells[i].Value="(45)"

but my cell datatype is double thats why above statement gives error .

error is - unable to convert from system.double to system.string.

Can we change cell data type instead of changing datasourse column data type.