HEMANT MODI
Inserting Null value in Database using C#

It is used for Inserting value in Database.
DateTime PunchIn = (object)DBNull.Value;

By HEMANT MODI in .NET on Mar 05 2020
  • Imogen Harden
    Jul, 2020 21

    Or simply omit the field, if the column expects null values no need to pass it

    • 0
  • Praveen Padle
    Jul, 2020 8

    • 0

Most Popular Job Functions


MOST LIKED QUESTIONS