DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Use ISNULL Function In Expression For Creating New Column In Datatable

  • submit to reddit
        ISNULL function in Expression while adding new column to datatable.

mydatatable.Columns.Add("ISEmployeePresent", System.Type.GetType("System.Boolean"),"IsNull(Present, -1)" ); 


Snippets Manager replied on Sat, 2012/05/05 - 1:30am

Thanks for your posts, it is very intersteing and related to ATV Parts. I have found anohter website related to atv parts. Check this out.