need help with c# code

  • Автор темы Автор темы nitin2003
  • Дата начала Дата начала

nitin2003

Client
Регистрация
18.09.2012
Сообщения
195
Реакции
11
Баллы
18
Hi,

I have written a simple C# code to compare 2 date but it seems to be working only without variables when I hard code the value.

Attached are the screenshots.
with variables.JPG
without variables.JPG

Can anyone please help?

Thanks,
Nitin
 
Nitin, get rid of the .ToString() at the end of your project variables and put .Value instead. Project variables are already strings.
 

Вложения

  • date.png
    date.png
    17,7 KB · Просмотры: 646
  • Спасибо
Реакции: nitin2003
Always remember that .Value and .value are different things) C# is case sensitive language )
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)