Click here to Skip to main content
15,907,874 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Data Controls and CSS Styles Pin
Guffa25-Aug-06 8:52
Guffa25-Aug-06 8:52 
GeneralRe: Data Controls and CSS Styles Pin
packerfan190425-Aug-06 8:56
packerfan190425-Aug-06 8:56 
AnswerRe: Data Controls and CSS Styles Pin
playout25-Aug-06 10:34
playout25-Aug-06 10:34 
Questionadd dataset to sql database Pin
playout25-Aug-06 7:32
playout25-Aug-06 7:32 
AnswerRe: add dataset to sql database Pin
Ramasubramaniam25-Aug-06 7:50
Ramasubramaniam25-Aug-06 7:50 
GeneralRe: add dataset to sql database Pin
Not Active25-Aug-06 8:50
mentorNot Active25-Aug-06 8:50 
AnswerRe: add dataset to sql database Pin
Not Active25-Aug-06 8:47
mentorNot Active25-Aug-06 8:47 
QuestionOne-to-many data insertion in SQL Server Pin
theblacklotus25-Aug-06 6:22
theblacklotus25-Aug-06 6:22 
Here is my dilima. I am kind of new to programming in asp.net, so bear with me. I am building a simple insertion script in asp.net and I am a little confused on how to properly carry out this coding.

I have a MS SQL Database
I have two tables
tblAccount
tblDirectory
In the tblAccount, the "accountID" is the primary key
It is also a foreign key in the tblDirectory

I want to be able to create accounts in the tblAccount table. In the asp.net application, I want the user to be able to login using the information they registered in the account table, and then enter data in the tblDirectory table and that information still be attached to the "accountID" field in the tblAccount table.

This is for a simple directory application. In otherwords, I register for an account, and then I can login and see the details of my account. I have two businesses that I want to enter into the database. So I want to be able to come in, enter my first business and when that is loaded, I can come back and enter my second business.

I think this is a one-to-many relationship in the database. Is there a tutorial on how to accomplish this using asp.net? I want to make sure that when the person logs in, only their information comes up and they can enter their businesses in the tblDirectory database.

Thanks in advance for your help.

The Black Lotus
AnswerRe: One-to-many data insertion in SQL Server Pin
theblacklotus25-Aug-06 7:40
theblacklotus25-Aug-06 7:40 
GeneralRe: One-to-many data insertion in SQL Server Pin
eggsovereasy25-Aug-06 8:42
eggsovereasy25-Aug-06 8:42 
GeneralRe: One-to-many data insertion in SQL Server Pin
theblacklotus25-Aug-06 10:50
theblacklotus25-Aug-06 10:50 
AnswerRe: One-to-many data insertion in SQL Server Pin
ToddHileHoffer25-Aug-06 8:13
ToddHileHoffer25-Aug-06 8:13 
GeneralRe: One-to-many data insertion in SQL Server Pin
theblacklotus25-Aug-06 8:44
theblacklotus25-Aug-06 8:44 
Questionhow to add new webpartzone and webparts at runtime Pin
ketan.raval25-Aug-06 5:17
ketan.raval25-Aug-06 5:17 
QuestionMultiView vs panels Pin
Drathmar25-Aug-06 4:58
Drathmar25-Aug-06 4:58 
AnswerRe: MultiView vs panels Pin
minhpc_bk25-Aug-06 13:45
minhpc_bk25-Aug-06 13:45 
QuestionBest Way to Serve Documents Pin
Jonathan Wood25-Aug-06 4:30
Jonathan Wood25-Aug-06 4:30 
QuestionSession Timeout - ASP.NET 2.0 Pin
seee sharp25-Aug-06 3:54
seee sharp25-Aug-06 3:54 
AnswerRe: Session Timeout - ASP.NET 2.0 Pin
minhpc_bk25-Aug-06 13:36
minhpc_bk25-Aug-06 13:36 
Questiondropdown binding Pin
bmadhura25-Aug-06 3:48
bmadhura25-Aug-06 3:48 
AnswerRe: dropdown binding Pin
Not Active25-Aug-06 4:17
mentorNot Active25-Aug-06 4:17 
AnswerRe: dropdown binding Pin
Coding C#25-Aug-06 4:44
Coding C#25-Aug-06 4:44 
QuestionProblem creating Repeater Template dynamically asp.net 2.0 [modified] Pin
Jay_se25-Aug-06 3:16
Jay_se25-Aug-06 3:16 
AnswerRe: Problem creating Repeater Template dynamically asp.net 2.0 Pin
playout25-Aug-06 10:30
playout25-Aug-06 10:30 
QuestionRe: Problem creating Repeater Template dynamically asp.net 2.0 Pin
Jay_se25-Aug-06 19:53
Jay_se25-Aug-06 19:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.