如何在首次登录时显示Asp.Net弹出框 [英] How to Show Asp.Net Popup Box on First Login

查看:70
本文介绍了如何在首次登录时显示Asp.Net弹出框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Asp.Net上首次登录用户时显示欢迎弹出框。

首次登录弹出框后不应显示。



请帮助。

解决方案

你可以在数据库中添加一个额外的列,如isfirstLogon为true或false。



当最初用户注册时你将该字段设为null。如果它返回则首次登录null然后只显示欢迎消息。并更新isfirstLogon = true。



然后下次iffirstLogon == true欢迎消息未显示否则不显示消息。

How to Show Welcome Popup box on first login of User in Asp.Net.
After first Login Popup Box Should not Show.

Please Help.

解决方案

you may add one extra column in database like isfirstLogon is true or false.

when initially user registered you make the field null.when first login if it returns null then only the welcome message will be showed.and update the isfirstLogon=true.

then next time if isfirstLogon==true the welcome message not showed otherwise not showing the message.


这篇关于如何在首次登录时显示Asp.Net弹出框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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