DateTime 변수에 DBNull 값을 저장하기

Category:
Author: zemna
Date: April 17, 2021
Share this:

DateTime 변수는 null로 설정될 수 없고 무조건 값을 가져야 한다.

대부분의 사람들은 null을 DateTime 변수에 설정하기 위해 DateTime.MinValue 를 이용한다.

DateTime dt = DateTime.MinValue;

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *

Let's connect and create
something awesome together!
2023 - Copyright, All Rights Reserved, Made by ZEMNA.NET with ❤️
crossmenu linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram