如何创建员工登录管理表单 [英] How to create Employee Login Management form

查看:68
本文介绍了如何创建员工登录管理表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我使用Visual Studio 2005,并为公司创建了一个网站.我创建了员工登录"表单.员工登录后,其登录时间将自动存储在数据库中.我怎样才能做到这一点.
请有人帮忙.

-尝试简化语言.请检查这是您要问的吗?

Hi,
I''m using visual studio 2005 and I created one website for my company. I created Employee Login form. When Employee Logs in, his login time is automatically stored in database. How can I do that.
Please somebody help to do this.

- Tried to make language simple. Please check is this what you meant to ask ?

推荐答案

您可以使用DateTime.Now来获取当前的本地日期时间.您必须询问用户的时区才能知道他们的时间.然后将其填充到数据库中.
You can use DateTime.Now to get the current local datetime. You''d have to ask the user for their time zone to know the time where they are. Then stuff it in the DB.


这篇关于如何创建员工登录管理表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆