Click here to Skip to main content
15,911,531 members
Home / Discussions / Database
   

Database

 
GeneralRe: Query a dataset Pin
Rocky Moore16-Jun-03 0:58
Rocky Moore16-Jun-03 0:58 
GeneralSql Server registeration error Pin
shalender10-Jun-03 19:21
shalender10-Jun-03 19:21 
GeneralHelp with SQL Server permissions Pin
Tony Truong10-Jun-03 7:37
Tony Truong10-Jun-03 7:37 
GeneralRe: Help with SQL Server permissions Pin
Nino_110-Jun-03 17:38
Nino_110-Jun-03 17:38 
GeneralRe: Help with SQL Server permissions Pin
Tony Truong11-Jun-03 8:40
Tony Truong11-Jun-03 8:40 
GeneralRe: Help with SQL Server permissions Pin
Nino_112-Jun-03 13:24
Nino_112-Jun-03 13:24 
GeneralAcceptChanges for DataRow Pin
DionChen9-Jun-03 8:35
DionChen9-Jun-03 8:35 
GeneralRe: AcceptChanges for DataRow Pin
bof16-Jun-03 9:54
bof16-Jun-03 9:54 
The quick answer is to use the DataAdaptor as follows:

myDataAdaptor.Update(myDataSet.myTable.Select(null, null, DataViewRowState.Deleted));

DataViewRowState.Deleted can of course also be changed for other rowstate based selections such as added/modified.

If you end up using these in a sequence and have related tables then note that you should also do the updates in a specific order between parent and child tables: delete child rows, add parent rows, modify parent rows, add child rows, modify child row etc.

It gets more fun if you have a whole hiearchy of tables....

Hope this helps.
Generalarabic data in database Pin
Sarvesvara (BVKS) Dasa8-Jun-03 22:19
Sarvesvara (BVKS) Dasa8-Jun-03 22:19 
GeneralDesigning a SourceCode Database Pin
Bo Hunter8-Jun-03 9:03
Bo Hunter8-Jun-03 9:03 
GeneralRe: Designing a SourceCode Database Pin
ZoogieZork8-Jun-03 11:06
ZoogieZork8-Jun-03 11:06 
GeneralRe: Designing a SourceCode Database Pin
Bo Hunter8-Jun-03 18:21
Bo Hunter8-Jun-03 18:21 
QuestionWhen I have not connect to a SQL Server, how can I get a default database name in a DSN? Pin
Peter Keung7-Jun-03 21:54
Peter Keung7-Jun-03 21:54 
AnswerRe: When I have not connect to a SQL Server, how can I get a default database name in a DSN? Pin
basementman9-Jun-03 5:21
basementman9-Jun-03 5:21 
GeneralIRowsetIndex on SQLOLEDB Pin
mike martinh6-Jun-03 13:34
mike martinh6-Jun-03 13:34 
GeneralDataSet binding Pin
haimon156-Jun-03 4:09
haimon156-Jun-03 4:09 
GeneralRe: DataSet binding Pin
John Kuhn6-Jun-03 9:31
John Kuhn6-Jun-03 9:31 
GeneralRe: DataSet binding Pin
haimon156-Jun-03 11:06
haimon156-Jun-03 11:06 
GeneralRe: DataSet binding Pin
John Kuhn17-Jun-03 14:16
John Kuhn17-Jun-03 14:16 
GeneralADODB Stream object Pin
NHM6-Jun-03 3:31
NHM6-Jun-03 3:31 
GeneralMaster-Detail datagrid Pin
Madhuri Mittal5-Jun-03 6:38
Madhuri Mittal5-Jun-03 6:38 
QuestionCan someone give me an example of opening SQL db with ADO.. Pin
IrishSonic4-Jun-03 14:14
IrishSonic4-Jun-03 14:14 
AnswerRe: Can someone give me an example of opening SQL db with ADO.. Pin
Anonymous4-Jun-03 17:34
Anonymous4-Jun-03 17:34 
GeneralRe: It gives me an error message - Login Fails. Pin
IrishSonic5-Jun-03 2:17
IrishSonic5-Jun-03 2:17 
GeneralRe: It gives me an error message - Login Fails. Pin
Anonymous5-Jun-03 13:42
Anonymous5-Jun-03 13:42 

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.