Click here to Skip to main content
15,891,696 members
Home / Discussions / Database
   

Database

 
GeneralRe: Deleting all record from Database Table with ADO.NET Pin
Mazdak6-May-04 6:47
Mazdak6-May-04 6:47 
GeneralRe: Deleting all record from Database Table with ADO.NET Pin
Chris Meech6-May-04 9:17
Chris Meech6-May-04 9:17 
GeneralRe: Deleting all record from Database Table with ADO.NET Pin
Guillermo Rivero6-May-04 10:05
Guillermo Rivero6-May-04 10:05 
GeneralRe: Deleting all record from Database Table with ADO.NET Pin
-Dr_X-8-May-04 15:50
-Dr_X-8-May-04 15:50 
QuestionMs Access Problem? Pin
catztay5-May-04 13:39
catztay5-May-04 13:39 
AnswerRe: Ms Access Problem? Pin
Roger Wright5-May-04 15:07
professionalRoger Wright5-May-04 15:07 
GeneralInner Join (JOY!) and Datasets Pin
Tristan Rhodes5-May-04 12:46
Tristan Rhodes5-May-04 12:46 
GeneralRe: Inner Join (JOY!) and Datasets Pin
Edbert P5-May-04 13:04
Edbert P5-May-04 13:04 
It will be represented in the dataset as one table with the columns PostTitle, PostDate, and PostTime.
I usually use XSD diagrams to keep my tables separated and build the relationship between them.

You can delete specific tables depending on how you define the DeleteCommand.
From your SQL statement I'm assuming that you're deleting the records based on the PageID.
Here's an example of delete statement that will delete the record in MainPosts when you delete the record in the recordset:
DELETE FROM MainPosts
WHERE PageID = ?

You have to supply the PageID parameter into the DeleteCommand. I find that using Visual Studio .NET makes my job easier Smile | :)

Edbert P.
Sydney, Australia.

GeneralRe: Inner Join (JOY!) and Datasets Pin
Tristan Rhodes6-May-04 6:32
Tristan Rhodes6-May-04 6:32 
GeneralRe: Inner Join (JOY!) and Datasets Pin
Edbert P9-May-04 12:24
Edbert P9-May-04 12:24 
GeneralOracle SQL Pin
pankajdaga5-May-04 11:51
pankajdaga5-May-04 11:51 
GeneralRe: Oracle SQL Pin
Mike Ellison6-May-04 5:33
Mike Ellison6-May-04 5:33 
GeneralRe: Oracle SQL Pin
WoutL13-May-04 0:45
WoutL13-May-04 0:45 
GeneralEncrypting Data Pin
MKlucher5-May-04 6:55
MKlucher5-May-04 6:55 
GeneralRe: Encrypting Data Pin
Mazdak5-May-04 7:33
Mazdak5-May-04 7:33 
GeneralRe: Encrypting Data Pin
MKlucher5-May-04 7:38
MKlucher5-May-04 7:38 
GeneralRe: Encrypting Data Pin
Mazdak5-May-04 7:47
Mazdak5-May-04 7:47 
GeneralRe: Encrypting Data Pin
MKlucher5-May-04 10:03
MKlucher5-May-04 10:03 
GeneralRe: Encrypting Data Pin
Mazdak5-May-04 10:13
Mazdak5-May-04 10:13 
GeneralRe: Encrypting Data Pin
cmk5-May-04 8:53
cmk5-May-04 8:53 
GeneralRe: Encrypting Data Pin
pankajdaga5-May-04 10:18
pankajdaga5-May-04 10:18 
GeneralQuestion about Oracle tools Pin
Keith Vitali5-May-04 5:42
Keith Vitali5-May-04 5:42 
GeneralRe: Question about Oracle tools Pin
Guillermo Rivero5-May-04 5:53
Guillermo Rivero5-May-04 5:53 
GeneralRe: Question about Oracle tools Pin
Keith Vitali5-May-04 6:08
Keith Vitali5-May-04 6:08 
GeneralRe: Question about Oracle tools Pin
Mike Ellison5-May-04 7:40
Mike Ellison5-May-04 7:40 

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.