Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 28th, 2007, 01:17 AM
Authorized User
 
Join Date: Oct 2006
Location: Kolkata, West Bengal, India.
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default Set Catagory From Admin

Hi Frnds,
         I am having a problem.The problem is below:

In my particular application,I am having 4 users and 1 admin.Now in my database there is a column named as "City".From my admin part I want to assign all "Kolkata" customers to first user,all "London" customers to second user and so on.Any time I can change cityname for a particular user.

          Can you please help me regarding this issue.

Thanks in advance.

  #2 (permalink)  
Old January 1st, 2008, 09:29 AM
Authorized User
 
Join Date: Jan 2007
Location: Islamabad, Punjab, Pakistan.
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to aliirfan84
Default

Take a column for city in users table(if there is one city for one user) or another table named "User_City" having to columns userid and cityid(cityname).

Rest is upto u. U can make a page for admin for above stated task or any thing related to ur business problem.



Regards,
Ali Irfan


Similar Threads
Thread Thread Starter Forum Replies Last Post
Admin login help banned Classic ASP Databases 2 May 8th, 2006 07:50 PM
admin youyou_hym Dreamweaver (all versions) 1 February 15th, 2005 03:03 AM
VWD Admin bmains ASP.NET 2.0 Basics 4 August 5th, 2004 05:25 PM
Admin Dan Jallits Forum and Wrox.com Feedback 1 June 6th, 2003 10:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.