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
735
CalculateAutoResizeWidth doesn't work well with DbNull data value
posted

We have a grid and need to automatically adjust column width when the data source changes. CalculateAutoResizeWidth works fine on grid column normally, but the problem comes when data source contains DbNull. The calculated column width is much wider if data contains DbNull. Is there any work around this problem?

Thanks,

Zongwen