https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=gboarder&logNo=90015580885
[C#]문자열이 null인지 공백문자인지 간단하게 확인방법
Written by Youngil Kim, C#.NET Developer 문자열(=String형 객체)이 null인지 공백(문자길이 0)...
blog.naver.com
if (String.IsNullOrEmpty(strValue) == true)
{
// null or empty
} else
{
}반응형
'asp.net' 카테고리의 다른 글
| [ASP.net] 자동으로 웹 페이지 이동 스크립트 (0) | 2022.05.17 |
|---|