Click here to Skip to main content
15,885,214 members
Home / Discussions / Database
   

Database

 
QuestionSQL Server networking Pin
JacquesDP15-Jan-07 20:27
JacquesDP15-Jan-07 20:27 
AnswerRe: SQL Server networking Pin
Colin Angus Mackay15-Jan-07 22:34
Colin Angus Mackay15-Jan-07 22:34 
GeneralRe: SQL Server networking Pin
JacquesDP15-Jan-07 22:46
JacquesDP15-Jan-07 22:46 
GeneralRe: SQL Server networking Pin
JacquesDP15-Jan-07 22:58
JacquesDP15-Jan-07 22:58 
GeneralRe: SQL Server networking Pin
Colin Angus Mackay16-Jan-07 0:01
Colin Angus Mackay16-Jan-07 0:01 
QuestionRe: SQL Server networking [modified] Pin
JacquesDP16-Jan-07 0:21
JacquesDP16-Jan-07 0:21 
AnswerRe: SQL Server networking Pin
JacquesDP16-Jan-07 17:20
JacquesDP16-Jan-07 17:20 
QuestionBindingSource setting RowState.Modified on unchanged rows! [modified] Pin
nzmike15-Jan-07 17:01
nzmike15-Jan-07 17:01 
I have a VB.Net 2.0 app with a readonly DataGridView and a BindingSource and BindingNavigator which allows the user to edit, add and delete rows via my own custom controls (combobox, textbox etc). The table to edit is read in successfully then bound to (and displayed in) the DGV and I can do all the BindingNavigator stuff like editing fields from selected rows and adding/deleting rows as you'd expect. The problem I'm getting is that if I click on a row in the DGV but do not make any changes it is still marked as being changed (ie: RowState = Modified).
I would have expected that only the rows that actually changed would have this status - otherwise what's the point?

So I guess my question is why is the BindingSource (or BindingNavigator or DGV?) setting these unchanged rows to Modified and how can I stop it from doing that or tell which rows have genuinely changed data?

Hope someone can help as this one has me stumped!

Mike



-- modified at 23:15 Monday 15th January, 2007
QuestionSQLCLR Performance Issue Pin
fodonnel15-Jan-07 14:52
fodonnel15-Jan-07 14:52 
QuestionSQL DateDiff Question Pin
Hulicat15-Jan-07 14:21
Hulicat15-Jan-07 14:21 
AnswerRe: SQL DateDiff Question Pin
Jon Sagara15-Jan-07 14:25
Jon Sagara15-Jan-07 14:25 
GeneralRe: SQL DateDiff Question Pin
Hulicat15-Jan-07 14:45
Hulicat15-Jan-07 14:45 
Questionmost efficient way to create query... Pin
adairjk15-Jan-07 11:56
adairjk15-Jan-07 11:56 
AnswerRe: most efficient way to create query... Pin
Miszou15-Jan-07 12:28
Miszou15-Jan-07 12:28 
GeneralRe: most efficient way to create query... Pin
adairjk16-Jan-07 3:15
adairjk16-Jan-07 3:15 
GeneralRe: most efficient way to create query... Pin
Miszou16-Jan-07 17:09
Miszou16-Jan-07 17:09 
QuestionSQL Server 2005 Express and Database Diagrams Pin
Miszou15-Jan-07 8:42
Miszou15-Jan-07 8:42 
AnswerRe: SQL Server 2005 Express and Database Diagrams Pin
Colin Angus Mackay15-Jan-07 12:51
Colin Angus Mackay15-Jan-07 12:51 
AnswerRe: SQL Server 2005 Express and Database Diagrams Pin
Pete O'Hanlon15-Jan-07 22:53
mvePete O'Hanlon15-Jan-07 22:53 
Questionusing sp_MSForEachTable to delete data with a where clause [modified] Pin
PrashantJ15-Jan-07 5:10
PrashantJ15-Jan-07 5:10 
QuestionPlease Guide Me Pin
Ashish Porwal15-Jan-07 5:04
Ashish Porwal15-Jan-07 5:04 
Question[Message Deleted] Pin
Orcun Ozturk15-Jan-07 5:04
Orcun Ozturk15-Jan-07 5:04 
AnswerRe: Desktop Database! Pin
Kschuler15-Jan-07 9:51
Kschuler15-Jan-07 9:51 
GeneralRe: Desktop Database! Pin
Orcun Ozturk16-Jan-07 1:53
Orcun Ozturk16-Jan-07 1:53 
GeneralRe: Desktop Database! Pin
Kschuler16-Jan-07 2:57
Kschuler16-Jan-07 2:57 

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.