Mahesh Reddy

Mahesh Reddy

  • 1.7k
  • 336
  • 9.7k

Relevant Date is not dipsplaying properly

Jan 25 2019 10:43 PM
Hi,
I have one table with relevant fiedls 
Id Name Date
Id-Primary key
Name-nvarchar
Date=datetime
i am going to do crud operation for that table 
coming to my requirement 
 After clicking of edit button in grid view relevant date is not dipslaying properly
i need to display in date format here it was diplaying in string format
https://ibb.co/sRDJkWJ
https://ibb.co/dBQN0QG 
Code for edit
............................
$scope.employee = emp.dat
$scope.Id = state.Id;
$scope.Name = state.Name;
$scope.ToDate = state.ToDate; 
Could please any one help me 
Note:i am using anjularjs and mvc 
 

Answers (4)