int.TryParse(cmbCompany.SelectedValue, out companyID); if (DateTime.TryParse(radtxtDateFrom.Text, out dtTemp)) { startDate = dtTemp; } if (DateTime.TryParse(radtxtDateTo.Text, out dtTemp)) { endDate = dtTemp; }
string strCompanyID = string.Empty; Int32? companyID; int Company; if (Int32.TryParse(strCompanyID, out Company) == true) companyID = Company; else companyID = 0;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)