Click here to Skip to main content
16,005,241 members
Home / Discussions / Database
   

Database

 
Questionsense these changes immediately and notify my program Pin
reza assar8-Oct-09 23:44
reza assar8-Oct-09 23:44 
AnswerRe: sense these changes immediately and notify my program Pin
εїзεїзεїз9-Oct-09 4:39
εїзεїзεїз9-Oct-09 4:39 
QuestionRe: sense these changes immediately and notify my program Pin
reza assar11-Oct-09 17:05
reza assar11-Oct-09 17:05 
AnswerRe: sense these changes immediately and notify my program Pin
Ashfield12-Oct-09 3:49
Ashfield12-Oct-09 3:49 
QuestionDataGridView Access Problem [modified] Pin
Grollub8-Oct-09 9:11
Grollub8-Oct-09 9:11 
AnswerRe: DataGridView Access Problem Pin
Mycroft Holmes8-Oct-09 20:00
professionalMycroft Holmes8-Oct-09 20:00 
GeneralRe: DataGridView Access Problem Pin
Grollub9-Oct-09 4:05
Grollub9-Oct-09 4:05 
GeneralRe: DataGridView Access Problem Pin
Mycroft Holmes9-Oct-09 11:45
professionalMycroft Holmes9-Oct-09 11:45 
Take a look at this article[^], it is designed to service the user control but may give you some ideas around the DGV, it uses an XML datasource.

Also look into the use of the bindingsource in the article, adds another layer but is quite useful.

Remember do NOT allow your users to do inline editing in a list control (DGV, listview). I force the user to a dialog for CRUD, supply a toolstrip with Add/Edit/Delete, double click the grid also does Edit. Pop a dialog with selected or blank record for the add/edit, write back to your data store before closing the dialog and reload the grid on a successful CRUD.

This may not suit the purist because there are multiple I/O to the database but it works very well and you can never lost data.

Never underestimate the power of human stupidity
RAH

Questionstandard SqlServer 2008 Pin
ali_reza_zareian8-Oct-09 8:43
ali_reza_zareian8-Oct-09 8:43 
AnswerRe: standard SqlServer 2008 Pin
Mycroft Holmes8-Oct-09 20:03
professionalMycroft Holmes8-Oct-09 20:03 
AnswerRe: standard SqlServer 2008 Pin
εїзεїзεїз10-Oct-09 1:01
εїзεїзεїз10-Oct-09 1:01 
QuestionProblem in Query Pin
nagendrathecoder7-Oct-09 21:30
nagendrathecoder7-Oct-09 21:30 
AnswerRe: Problem in Query Pin
εїзεїзεїз7-Oct-09 21:58
εїзεїзεїз7-Oct-09 21:58 
AnswerRe: Problem in Query Pin
Mycroft Holmes7-Oct-09 22:26
professionalMycroft Holmes7-Oct-09 22:26 
GeneralRe: Problem in Query Pin
εїзεїзεїз7-Oct-09 23:03
εїзεїзεїз7-Oct-09 23:03 
GeneralRe: Problem in Query Pin
Ashfield8-Oct-09 1:23
Ashfield8-Oct-09 1:23 
QuestionSql Server Access Pin
anishkannan7-Oct-09 19:17
anishkannan7-Oct-09 19:17 
AnswerRe: Sql Server Access Pin
εїзεїзεїз7-Oct-09 22:04
εїзεїзεїз7-Oct-09 22:04 
AnswerRe: Sql Server Access Pin
Mycroft Holmes7-Oct-09 22:30
professionalMycroft Holmes7-Oct-09 22:30 
QuestionHow to write IF Condition in Stored Procedure Pin
Abhishek Boga7-Oct-09 14:06
Abhishek Boga7-Oct-09 14:06 
AnswerRe: How to write IF Condition in Stored Procedure Pin
Not Active7-Oct-09 14:17
mentorNot Active7-Oct-09 14:17 
AnswerRe: How to write IF Condition in Stored Procedure Pin
Not Active7-Oct-09 14:20
mentorNot Active7-Oct-09 14:20 
AnswerRe: How to write IF Condition in Stored Procedure Pin
J4amieC7-Oct-09 23:07
J4amieC7-Oct-09 23:07 
Question'Best practices' for managing data base connections Pin
Gary Wheeler7-Oct-09 8:29
Gary Wheeler7-Oct-09 8:29 
AnswerRe: 'Best practices' for managing data base connections [modified] Pin
Luc Pattyn7-Oct-09 8:37
sitebuilderLuc Pattyn7-Oct-09 8:37 

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.