i have two columns in my DB departure and arrival time where i get them by GETDATE() with data type of datetime I want to find the difference between them and store it in timespent with data type nvchar(50) ,then call the value of timespent convert it into double so i can use it in calculation.
in new to C# please help.

Midhun TpRank #388 · 6.5K reputationPosted Jul 23, 2016, 3:12 AM EDT
Krishna Rajput SinghRank #605 · 4K reputationPosted Jul 23, 2016, 4:31 PM EDT