Click here to Skip to main content
11,489,292 members (78,786 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
i have two tables:1)profile-->fields are:

pro_id(primary key)
name
address
log_id(foriegn key)

2)login-->field are:

log_id(primary key)
username
password

if I delete data from profile then data will also delete from login.
how to do this. i don't know.please help me.
Posted 21-Dec-12 4:33am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 575
1 OriginalGriff 278
2 Maciej Los 180
3 _duDE_ 141
4 Frankie-C 135
0 Sergey Alexandrovich Kryukov 9,488
1 OriginalGriff 8,425
2 Sascha Lefèvre 3,344
3 Maciej Los 3,066
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 21 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100