网站的工作功能 [英] working functionality for website

查看:83
本文介绍了网站的工作功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请有人告诉我www.chennaionlinegrocery.com的功能





当我们从左侧choclate选择项目然后功能下拉列表和单价和最后价格





如何使用数据库工作

请帮帮我

please anyone tell me the functionality for "www.chennaionlinegrocery.com"


when we select item from left side choclate then functionlity for dropdown list and unit price and last price


how its working using database
please help me

推荐答案

网站: www.chennaionlinegrocery.com [ ^ ]用于购买在线杂货......现场聊天选项也在那里....你可以用它来获取更多信息......
The website : www.chennaionlinegrocery.com[^] is for buying online grocery items.....Live chat option is also there....u can use that for more information....


引用:

让我试着开发作为一个商店的相同类型的webapplication ...所以即时通知我如何使用数据库创建此应用程序。或者任何物质价值(产品详情)可以随时由任何商店的所有者改变(这是非技术人员,我可以创建这个......可以帮助我..)。

Let I m trying to develop as same type webapplication for a shop... So i m asking that how can i create this application using database. or any methood..bt values(product details) are changeable at any time by owner of any shop(which is non technical person hw can i create this..Can u help me..).

基本上你正在寻找for 基于用户角色的权限



这意味着您必须为某些用户提供某些角色,以便您可以让他们访问编辑更新任何记录。



您可以使用相同的网格显示产品详细信息。您需要检查的只是用户是普通用户还是任何管理员人。



依据你将隐藏/显示 GridView 中的编辑选项。



为了实现 Roles ,你可以去 ASP.NET身份验证和授权 [ ^ ]或通过创建几个表来实现自己。



您可以应用自己的逻辑,如下所示... < br $>




  • 添加一个角色表并将其与登录表相关联的。对于每个用户角色表中将有一行。
  • 时注册,您将在角色表中插入行。
  • 登录时,您将从角色表中获取用户角色
  • 根据角色,您将完成工作。
  • Basically you are looking for User Roles Based Privileges.

    That means you have to give certain users certain Roles, so that you can give them access to Edit or Update any record.

    You can use the same Grid which is showing the Product details. Only thing you need to check is whether the user is a Normal User or any Admin Person.

    According to that you will hide/show the Edit option in the GridView.

    For implementing Roles, you can go for ASP.NET authentication and authorization[^] or implement yourself by creating couple of more tables.

    You can apply your own logic, something like below...


    • Add one Role Table and relate that to the Login Table. For each User, there will be a row in Role Table.
    • At the time of Registration, you will insert row in Role Table.
    • At the time of Login, you will fetch the Role of User from Role Table.
    • According to the Role, you will then do your work.

    • 这篇关于网站的工作功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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