N nitin2003 Client Регистрация 18.09.2012 Сообщения 195 Благодарностей 11 Баллы 18 02.06.2014 #1 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. Can anyone please help? Thanks, Nitin
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. Can anyone please help? Thanks, Nitin
bigcajones Client Регистрация 09.02.2011 Сообщения 1 216 Благодарностей 683 Баллы 113 02.06.2014 #2 Nitin, get rid of the .ToString() at the end of your project variables and put .Value instead. Project variables are already strings. Вложения date.png 17,7 КБ Просмотры: 579 Реакции: nitin2003
Nitin, get rid of the .ToString() at the end of your project variables and put .Value instead. Project variables are already strings.
N nitin2003 Client Регистрация 18.09.2012 Сообщения 195 Благодарностей 11 Баллы 18 03.06.2014 #3 bigcajones сказал(а): Nitin, get rid of the .ToString() at the end of your project variables and put .Value instead. Project variables are already strings. Нажмите, чтобы раскрыть... Thanks. It seems to worked fine now using .value.
bigcajones сказал(а): Nitin, get rid of the .ToString() at the end of your project variables and put .Value instead. Project variables are already strings. Нажмите, чтобы раскрыть... Thanks. It seems to worked fine now using .value.
rostonix Известная личность Регистрация 23.12.2011 Сообщения 29 067 Благодарностей 5 715 Баллы 113 04.06.2014 #4 Always remember that .Value and .value are different things) C# is case sensitive language )