Click here to Skip to main content
15,879,535 members
Home / Discussions / Database
   

Database

 
AnswerRe: Deploy .Net Application With Sql Server 2005 Pin
Mike Dimmick14-Oct-07 11:26
Mike Dimmick14-Oct-07 11:26 
GeneralRe: Deploy .Net Application With Sql Server 2005 Pin
DotNetWWW14-Oct-07 19:09
DotNetWWW14-Oct-07 19:09 
QuestionOleDB using MS-Access Pin
s4_sabahatf14-Oct-07 5:28
s4_sabahatf14-Oct-07 5:28 
AnswerRe: OleDB using MS-Access Pin
pmarfleet14-Oct-07 7:45
pmarfleet14-Oct-07 7:45 
AnswerRe: OleDB using MS-Access Pin
Hesham Amin14-Oct-07 7:52
Hesham Amin14-Oct-07 7:52 
QuestionOleDB using MS-Access Pin
s4_sabahatf14-Oct-07 5:27
s4_sabahatf14-Oct-07 5:27 
AnswerRe: OleDB using MS-Access Pin
Muhammad Shahid Farooq28-Oct-07 13:17
professionalMuhammad Shahid Farooq28-Oct-07 13:17 
QuestionProblem with updating dataset with database Pin
vbar14-Oct-07 4:03
vbar14-Oct-07 4:03 
Hi,

I am programming a database app and have a problem. When the app starts, a typed dataset is filled via the fill method. When the user made its changes and presses the save button, his changes are committed to the database via executing sql-commands (and some other not-db-related stuff) depending on the row-states. This works very good, this users changes are done. But after that the problem starts:
I want rows to be deleted/updated in the dataset which have been deleted/modified by _other_ users in the database. So whats the most elegant way to sync my dataset?
I found the datatable.merge() method, but it does not delete rows which dont exist anymore.
Another possibility is to clear my dataset and fill it newly, but this will lead to the gui-components bound to the dataset to for example jump to the first record etc.. I guess.
Then I found the loadrows() method...anyone used it?!
And finally I could sync completely manually, especially because each row has a timmestamp column.

Tell me your solutions/experiences please.

Thanks
vb


QuestionSQL Server Management Studio Express Problem Pin
Vipin.d13-Oct-07 21:26
Vipin.d13-Oct-07 21:26 
AnswerRe: SQL Server Management Studio Express Problem Pin
Hesham Amin13-Oct-07 22:51
Hesham Amin13-Oct-07 22:51 
GeneralRe: SQL Server Management Studio Express Problem Pin
Vipin.d14-Oct-07 1:11
Vipin.d14-Oct-07 1:11 
QuestionInserting Only Distinct Items Pin
Ian Uy13-Oct-07 9:55
Ian Uy13-Oct-07 9:55 
AnswerRe: Inserting Only Distinct Items Pin
Giorgi Dalakishvili13-Oct-07 10:18
mentorGiorgi Dalakishvili13-Oct-07 10:18 
GeneralRe: Inserting Only Distinct Items Pin
Ian Uy13-Oct-07 18:18
Ian Uy13-Oct-07 18:18 
QuestionMS SQL Express Edition Username/Password Pin
Ian Uy13-Oct-07 9:52
Ian Uy13-Oct-07 9:52 
AnswerRe: MS SQL Express Edition Username/Password Pin
pmarfleet13-Oct-07 10:13
pmarfleet13-Oct-07 10:13 
GeneralRe: MS SQL Express Edition Username/Password Pin
Ian Uy13-Oct-07 10:15
Ian Uy13-Oct-07 10:15 
GeneralRe: MS SQL Express Edition Username/Password Pin
pmarfleet13-Oct-07 10:48
pmarfleet13-Oct-07 10:48 
GeneralRe: MS SQL Express Edition Username/Password Pin
Ian Uy13-Oct-07 18:19
Ian Uy13-Oct-07 18:19 
QuestionLogin - User - Credentials Pin
DotNetWWW13-Oct-07 5:42
DotNetWWW13-Oct-07 5:42 
AnswerRe: Login - User - Credentials Pin
Hesham Amin13-Oct-07 22:56
Hesham Amin13-Oct-07 22:56 
QuestionCPU Utilisation Goes to 100% [modified] Pin
Bad Programmer13-Oct-07 5:30
Bad Programmer13-Oct-07 5:30 
AnswerRe: CPU Utilisation Goes to 100% Pin
Bad Programmer22-Oct-07 10:01
Bad Programmer22-Oct-07 10:01 
QuestionSQL QUERY Pin
Trustapple13-Oct-07 0:17
Trustapple13-Oct-07 0:17 
AnswerRe: SQL QUERY Pin
Blue_Boy13-Oct-07 1:50
Blue_Boy13-Oct-07 1:50 

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.