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
20
Setting cell's text on an integer value is painfully expensive
posted

 If you have a cell that's native data type is some sort of integer and you want to set the text of cell to some text value, operations slow down by about 800%.

Say you have a cell like school_id that is an int and in an initializerow event you do this:

e.Row.Cells.FromKey("school_id").Text = "";
or
e.Row.Cells[0].Text = "";

Things slow down BIG BIG Time.  How do you do a cast or speed this up?

Thanks!