Louie De Janeiru

TextBox text null check 본문

C#

TextBox text null check

Louiey 2018. 11. 13. 14:38
if (!string.IsNullOrWhiteSpace(textbox.Text))
{
    //code here
}


'C#' 카테고리의 다른 글

Screen Record  (0) 2020.09.16
Properties.Settings.Default  (0) 2019.09.24
Decimal point handling  (0) 2019.09.23
DataGridView double buffered enable  (0) 2019.06.12
Textbox에 숫자만 입력받기  (0) 2019.02.11