This category contains 1 post

Best practice to check for DBNull using .Net:

When we retrieve data from database it is very important for to check for NULL values if writing a robust application. Here are following ways on how to accomplish this need: 1) Using System.Convert: There is a direct method available to Check for DBNull. Here is what you have to do: // Assuming that a … Continue reading