about uscontact

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.

ZEMNA.NET

Professional software development agency estalished in Indonesia. We offers website setup, web application development, fulfillment service, and etc.
Follow us
Follow us to get latest news and tutorials.
2022 - Copyright, All Rights Reserved, Made by ZEMNA.NET with ❤️
magnifiercrossmenu