Click here to Skip to main content
15,918,258 members
Home / Discussions / C#
   

C#

 
AnswerRe: Question about switch statement Pin
J4amieC8-Oct-07 23:41
J4amieC8-Oct-07 23:41 
GeneralRe: Question about switch statement Pin
Andrei Ungureanu8-Oct-07 23:43
Andrei Ungureanu8-Oct-07 23:43 
AnswerRe: Question about switch statement Pin
JSSUML9-Oct-07 2:32
JSSUML9-Oct-07 2:32 
Questionwhat is : Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
B.A8-Oct-07 23:09
B.A8-Oct-07 23:09 
AnswerRe: what is : Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Rocky#8-Oct-07 23:18
Rocky#8-Oct-07 23:18 
GeneralRe: what is : Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
B.A8-Oct-07 23:29
B.A8-Oct-07 23:29 
GeneralRe: what is : Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Pin
Rocky#8-Oct-07 23:39
Rocky#8-Oct-07 23:39 
Questiondatabinding to control.tag causes changes to dataset Pin
Glen Harvy8-Oct-07 22:59
Glen Harvy8-Oct-07 22:59 
Hi,

I currently do the following when closing a form containing editable databound controls (comboboxes mainly)..

this.configBindingSource.EndEdit();
if ((bool)this.myDataSet1.HasChanges())

// do some stuff

The problem is that if I bind a control's tag to a field in the datatable, the above condition is met even if there are no changes made to the form's controls at all. Even if I bind it to a label.tag, it still triggers a change to the datatable.

Is there something I'm doing wrong?

Thanks.

Glen Harvy

AnswerRe: databinding to control.tag causes changes to dataset Pin
Urs Enzler9-Oct-07 0:47
Urs Enzler9-Oct-07 0:47 
GeneralRe: databinding to control.tag causes changes to dataset Pin
Glen Harvy9-Oct-07 1:32
Glen Harvy9-Oct-07 1:32 
Questiontimer Pin
Tauseef A8-Oct-07 22:46
Tauseef A8-Oct-07 22:46 
AnswerRe: timer Pin
Jon Hulatt8-Oct-07 22:49
Jon Hulatt8-Oct-07 22:49 
QuestionRe: timer Pin
Tauseef A8-Oct-07 22:51
Tauseef A8-Oct-07 22:51 
AnswerRe: timer Pin
Jon Hulatt8-Oct-07 23:51
Jon Hulatt8-Oct-07 23:51 
GeneralRe: timer Pin
Pete O'Hanlon8-Oct-07 23:56
mvePete O'Hanlon8-Oct-07 23:56 
GeneralRe: timer Pin
Jon Hulatt9-Oct-07 0:05
Jon Hulatt9-Oct-07 0:05 
AnswerRe: timer Pin
Pete O'Hanlon8-Oct-07 22:54
mvePete O'Hanlon8-Oct-07 22:54 
GeneralRe: timer Pin
Luc Pattyn9-Oct-07 0:38
sitebuilderLuc Pattyn9-Oct-07 0:38 
QuestionTreeView, ToolBox Pin
half-life8-Oct-07 22:43
half-life8-Oct-07 22:43 
AnswerRe: TreeView, ToolBox Pin
Rocky#8-Oct-07 23:15
Rocky#8-Oct-07 23:15 
QuestionSocket Programming Pin
satsumatable8-Oct-07 21:16
satsumatable8-Oct-07 21:16 
AnswerRe: Socket Programming Pin
Colin Angus Mackay8-Oct-07 22:34
Colin Angus Mackay8-Oct-07 22:34 
GeneralRe: Socket Programming Pin
Pete O'Hanlon8-Oct-07 22:41
mvePete O'Hanlon8-Oct-07 22:41 
GeneralRe: Socket Programming Pin
Colin Angus Mackay9-Oct-07 0:02
Colin Angus Mackay9-Oct-07 0:02 
GeneralRe: Socket Programming Pin
Pete O'Hanlon9-Oct-07 0:11
mvePete O'Hanlon9-Oct-07 0:11 

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.