订阅和取消订阅按钮 [英] Subscribe and Unsubscribe buttons

查看:398
本文介绍了订阅和取消订阅按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有3个按钮-订阅,已订阅和取消订阅.
如果我单击订阅此用户",该按钮将更改为已订阅".
除非我取消订阅该用户,否则下次访问该订阅按钮时,我会发现我没有订阅该用户.
Visual Web Developer VB的代码是什么?以及用于删除数据库中重复数据的代码.
另外,如果我单击退订,如何从数据库资源管理器中删除记录的数据?

谢谢.

Hi,

Have 3 buttons - subscribe, subscribed and unsubscribe.
if i click subscribe to this user and the button will changed to subscribed.
And the subscribed button will be there next time i visit unless i unsubscribe from the user then it will appear to me that i''m not subscribe to the user.
what is the code for visual web developer vb? And also the codes for removing duplicate data in database.
And also if i click unsubscribe, how to remove the recorded data from database explorer?

Thanks.

推荐答案

这不是一个真正的问题.您已经告诉我们您想要什么,并且表现得好像我们知道如何为您提供所需的代码,并且会为您完成您的工作.更好的UI是一个按钮,该按钮会显示订阅",并在您订阅时更改为取消订阅".然后,您存储是否在数据库中预订了已登录的用户,并在按下按钮时切换该值.
This is not a real question. You''ve told us what you want, and acted as if we know how to give you the code you need, and would just do your work for you. A better UI is one button that says subscribe and changes to unsubscribe when you''re subscribed. Then you store if the logged in user is subscribed in the DB, and switch that value when the button is pressed.


这篇关于订阅和取消订阅按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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