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
1705
"Unable to update data error" when I try to null out the contents of a cell
posted

When I delete the contents of a cell I get the "Unable to update data error: DBNull cannot be converted to type..."  How can I allow this?

Parents
No Data
Reply
  • 345
    Suggested Answer
    posted

    To avoid this error 

    you have to add a line of code as follows

    band.Columns["ColumnName"].Nullable = Infragistics.Win.UltraWinGrid.Nullable.Nothing;

     

    Regards,

    Manoj kumar

    09840507975

     

Children
No Data