C# 数据处理逻辑帮助
我有一个像这样的数据表,
AccessDateTime | Direction
2010-09-15 12:12:49 | IN
2010-09-15 12:36:03 | OUT
2010-09-15 12:53:05 | IN
2010-09-15 14:04:19 | OUT
2010-09-15 14:17:35 | IN
2010-09-15 16:07:57 | OUT
2010-09-15 16:10:57 | OUT
2010-09-15 18:43:18 | OUT
我需要一个快速逻辑将数据转换为这种格式
Date | In Time | Out Time
2010-09-15 12:12:49 | 12:36:03
2010-09-15 12:53:05 | 14:04:19
2010-09-15 14:17:35 | 16:07:57
2010-09-15 N/A | 16:07:57
2010-09-15 N/A | 16:10:57
2010-09-15 N/A | 18:43:18
请帮助我找到任何示例代码或任何建议,非常感谢。
谢谢
I have a DataTable like this,
AccessDateTime | Direction
2010-09-15 12:12:49 | IN
2010-09-15 12:36:03 | OUT
2010-09-15 12:53:05 | IN
2010-09-15 14:04:19 | OUT
2010-09-15 14:17:35 | IN
2010-09-15 16:07:57 | OUT
2010-09-15 16:10:57 | OUT
2010-09-15 18:43:18 | OUT
I need a fast logic to convert the data into this format
Date | In Time | Out Time
2010-09-15 12:12:49 | 12:36:03
2010-09-15 12:53:05 | 14:04:19
2010-09-15 14:17:35 | 16:07:57
2010-09-15 N/A | 16:07:57
2010-09-15 N/A | 16:10:57
2010-09-15 N/A | 18:43:18
Please help me to find any sample code or any advice is highly appreciated.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)