Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
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 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
 
Old March 2nd, 2006, 06:11 AM
Authorized User
 
Join Date: Feb 2006
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???


 
Old March 2nd, 2006, 06:32 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





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





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