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
3455
Null exception
posted

Hi,

While running this code, get null exception some times,

foreach (UltraGridRow ugr in this.UltraGrid1.Rows)

{

if (ugr.Selected)

ugr.Cells["Select"].Value = true;

else

ugr.Cells["Select"].Value = false;

}

 

Can anyone suggest any other method to set the column value.

regards,

pgr2007