comparing time values
-
Dear All, I am using C# ,asp.net , sql server 2005. In a web form I have to create From time and to time and to time should be greater then from time I created two textboxes and place the maskedit for time(24 hrs) Now problem is how can I check or do client side validation for to time textbox as compare validator does not support time datatype. If u have better approach please suggest. Thank you.
imran khan
-
Dear All, I am using C# ,asp.net , sql server 2005. In a web form I have to create From time and to time and to time should be greater then from time I created two textboxes and place the maskedit for time(24 hrs) Now problem is how can I check or do client side validation for to time textbox as compare validator does not support time datatype. If u have better approach please suggest. Thank you.
imran khan
Check this javascriptcode for comparing date time.[^ and check this google result.[^]
I Love T-SQL "Don't torture yourself,let the life to do it for you."
-
Dear All, I am using C# ,asp.net , sql server 2005. In a web form I have to create From time and to time and to time should be greater then from time I created two textboxes and place the maskedit for time(24 hrs) Now problem is how can I check or do client side validation for to time textbox as compare validator does not support time datatype. If u have better approach please suggest. Thank you.
imran khan
Use javascript.
-
Dear All, I am using C# ,asp.net , sql server 2005. In a web form I have to create From time and to time and to time should be greater then from time I created two textboxes and place the maskedit for time(24 hrs) Now problem is how can I check or do client side validation for to time textbox as compare validator does not support time datatype. If u have better approach please suggest. Thank you.
imran khan
use simple Javascript client side validation... That will solve .. I think
Abhishek Sur