Click here to Skip to main content
15,902,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 5-Jan-14 19:29pm
v2

The website : www.chennaionlinegrocery.com[^] is for buying online grocery items.....Live chat option is also there....u can use that for more information....
 
Share this answer
 
Comments
amit1992 6-Jan-14 1:44am    
@Honey Jagyasi
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..).
Quote:
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..).
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900