Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking 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 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 2nd, 2006, 06:11 AM
Authorized User
Join Date: Feb 2006
Location: , , .
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default 2 different DBs.how they can interact to one anoth

Hi folks,

i feel i am in big trouble and the project deadline is on its way.

i have used the loging wizard to create passwords and uernames. this will automatically will create a database name called ASPNETDB.

i also created a database, with two tables one to insert details of hotel details, this include(hotelname, hotelID...) and another one called request table where the hotel can request waiters to work for the hotel. request table has( requestID, hotelID (forign key), timeIN and TimeOut...)

my problem here how can i assign the hotelid automatically in the request form once that particular hotel manager log in and want to add a request. in another word say i am a manager in hotel when i log in and go to type a request in the request form, automatically my hotelid should be assigned for me in one of the textbox and should only be read only

as you can see the details of the login user is in one database and the details of the hotelid and request id is in another database (second database called ECB)

can anyone help me please???

Reply With Quote
  #2 (permalink)  
Old March 2nd, 2006, 06:32 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

Hi there,

Check out this blog entry: http://weblogs.asp.net/scottgu/archi...25/423703.aspx

It explains how tp configure your *existing* database for the users and roles.


Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pulling unique data from 1 table insert into anoth shawn.bordeaux Classic ASP Basics 0 November 9th, 2008 10:11 PM
How to interact with data using ADO rohit_ghosh Access 1 May 21st, 2008 09:11 AM
How to interact with Biometric devices ? indiangeeks Pro PHP 1 March 7th, 2007 06:27 AM
NEWBIE - Interact with checkbox latieshajohnson Classic ASP Basics 3 December 19th, 2006 05:12 PM
Interact with files Snib Javascript How-To 4 November 19th, 2003 02:17 PM

All times are GMT -4. The time now is 05:35 AM.

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