Click here to Skip to main content
15,917,808 members
Home / Discussions / C#
   

C#

 
QuestionExceptions and Backgroundworker Pin
boersnoes28-Dec-07 2:43
boersnoes28-Dec-07 2:43 
GeneralRe: Exceptions and Backgroundworker Pin
KaptinKrunch28-Dec-07 4:26
KaptinKrunch28-Dec-07 4:26 
GeneralRe: Exceptions and Backgroundworker Pin
boersnoes28-Dec-07 5:23
boersnoes28-Dec-07 5:23 
GeneralRe: Exceptions and Backgroundworker Pin
KaptinKrunch28-Dec-07 5:52
KaptinKrunch28-Dec-07 5:52 
GeneralRe: Exceptions and Backgroundworker Pin
boersnoes30-Dec-07 22:07
boersnoes30-Dec-07 22:07 
Generaltags Pin
Luc Pattyn28-Dec-07 5:56
sitebuilderLuc Pattyn28-Dec-07 5:56 
GeneralRe: tags Pin
boersnoes30-Dec-07 22:08
boersnoes30-Dec-07 22:08 
GeneralRowfilter Pin
topcatalpha28-Dec-07 2:22
topcatalpha28-Dec-07 2:22 
Hi,

My combobox is bound to a dataset1.tables[0].defaultview. The values of my combobox to dataset2.tables[0].defaultview. During inserting i set the rowfilter of dataset2.tables[0].defaultview which works fine. The nbr of items in the combobox is limited to the records i filtered.

After choosing a selection and after edit, my combobox.selectedvalue = 147 (the unique key in the dataset.)

But when i set the rowfilter back to string.empty my selectedValue of my combobox becomes <null> but in the combobox there's still the correct last selected text.

Result is that i get an error if i want to edit the same record again, even when everything looks fine to the user.

So it seems that the binding is mixed up or so.

Anyone any idea what goes wrong ?


Thx

Kurt
GeneralRe: Rowfilter Pin
KaptinKrunch28-Dec-07 3:51
KaptinKrunch28-Dec-07 3:51 
GeneralRe: Rowfilter Pin
topcatalpha1-Jan-08 20:44
topcatalpha1-Jan-08 20:44 
GeneralError:Unsafe code may only appear if compiling with /unsafe Pin
zeeShan anSari28-Dec-07 1:59
zeeShan anSari28-Dec-07 1:59 
GeneralRe: Error:Unsafe code may only appear if compiling with /unsafe Pin
boersnoes28-Dec-07 2:47
boersnoes28-Dec-07 2:47 
GeneralRe: Error:Unsafe code may only appear if compiling with /unsafe Pin
Luc Pattyn28-Dec-07 3:58
sitebuilderLuc Pattyn28-Dec-07 3:58 
Questionhow to get a view on a vector Pin
edaw28-Dec-07 0:32
edaw28-Dec-07 0:32 
GeneralRe: how to get a view on a vector Pin
Colin Angus Mackay28-Dec-07 1:10
Colin Angus Mackay28-Dec-07 1:10 
GeneralRe: how to get a view on a vector Pin
edaw28-Dec-07 1:41
edaw28-Dec-07 1:41 
GeneralRe: how to get a view on a vector Pin
Luc Pattyn28-Dec-07 4:03
sitebuilderLuc Pattyn28-Dec-07 4:03 
GeneralRe: how to get a view on a vector Pin
edaw28-Dec-07 4:18
edaw28-Dec-07 4:18 
GeneralRe: how to get a view on a vector Pin
Luc Pattyn28-Dec-07 4:50
sitebuilderLuc Pattyn28-Dec-07 4:50 
QuestionHow to extend Math class Pin
Chesnokov Yuriy28-Dec-07 0:00
professionalChesnokov Yuriy28-Dec-07 0:00 
GeneralRe: How to extend Math class Pin
Colin Angus Mackay28-Dec-07 0:02
Colin Angus Mackay28-Dec-07 0:02 
GeneralRe: How to extend Math class Pin
User 665828-Dec-07 4:01
User 665828-Dec-07 4:01 
AnswerRe: How to extend Math class Pin
Leyu28-Dec-07 4:02
Leyu28-Dec-07 4:02 
GeneralRe: How to extend Math class Pin
Paul Conrad28-Dec-07 7:02
professionalPaul Conrad28-Dec-07 7:02 
GeneralBuiltInDocumentProperties with WdPropertyTimeLastSaved Pin
Arun Abraham Jose27-Dec-07 23:48
Arun Abraham Jose27-Dec-07 23:48 

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.