Click here to Skip to main content
15,880,956 members
Home / Discussions / C#
   

C#

 
GeneralRe: connectionstring to sqlexpress 2005 Pin
arkiboys19-Jan-11 11:23
arkiboys19-Jan-11 11:23 
AnswerRe: connectionstring to sqlexpress 2005 Pin
jschell19-Jan-11 8:40
jschell19-Jan-11 8:40 
QuestionDataBindingComplete on ComboBox? Pin
Dewald19-Jan-11 0:36
Dewald19-Jan-11 0:36 
AnswerRe: DataBindingComplete on ComboBox? Pin
Dan Mos19-Jan-11 1:04
Dan Mos19-Jan-11 1:04 
GeneralRe: DataBindingComplete on ComboBox? Pin
Dewald19-Jan-11 3:34
Dewald19-Jan-11 3:34 
AnswerRe: DataBindingComplete on ComboBox? [modified] Pin
RaviRanjanKr19-Jan-11 1:30
professionalRaviRanjanKr19-Jan-11 1:30 
AnswerRe: DataBindingComplete on ComboBox? Pin
ToddHileHoffer19-Jan-11 2:44
ToddHileHoffer19-Jan-11 2:44 
GeneralRe: DataBindingComplete on ComboBox? Pin
Dewald19-Jan-11 3:47
Dewald19-Jan-11 3:47 
No, there is no databound event, at least not that I am aware of. The DataGridView control, for instance, has a DataBindingComplete event which is what I usually use for this when working with a grid view but with this ComboBox I am stumped.

I can check the items count before setting a value but at that point I wouldn't necessarily know what the count should be. I mean, it's one thing if the count is 0, then I know the binding hasn't finished but if it's not 0, all I know is that the binding is at least partially finished but I can't be sure that it's totally finished - if that makes sense.

At any rate, I can run through the SqlDataReader and add the entries one by one, that way I know when I've added all of them. I just don't like that approach all that much as it seems a bit brute.
GeneralRe: DataBindingComplete on ComboBox? Pin
ToddHileHoffer19-Jan-11 4:38
ToddHileHoffer19-Jan-11 4:38 
AnswerRe: DataBindingComplete on ComboBox? Pin
_Erik_19-Jan-11 3:28
_Erik_19-Jan-11 3:28 
GeneralRe: DataBindingComplete on ComboBox? Pin
Dewald19-Jan-11 4:00
Dewald19-Jan-11 4:00 
GeneralRe: DataBindingComplete on ComboBox? Pin
_Erik_19-Jan-11 5:58
_Erik_19-Jan-11 5:58 
AnswerRe: DataBindingComplete on ComboBox? Pin
MumbleB19-Jan-11 6:24
MumbleB19-Jan-11 6:24 
GeneralRe: DataBindingComplete on ComboBox? Pin
Dewald19-Jan-11 20:40
Dewald19-Jan-11 20:40 
Questionhow should i word this... and better...how should i do it? Pin
jwalker34318-Jan-11 17:01
jwalker34318-Jan-11 17:01 
AnswerRe: how should i word this... and better...how should i do it? Pin
PIEBALDconsult18-Jan-11 18:19
mvePIEBALDconsult18-Jan-11 18:19 
GeneralRe: how should i word this... and better...how should i do it? Pin
jwalker34319-Jan-11 1:59
jwalker34319-Jan-11 1:59 
AnswerRe: how should i word this... and better...how should i do it? Pin
#realJSOP18-Jan-11 23:47
mve#realJSOP18-Jan-11 23:47 
GeneralRe: how should i word this... and better...how should i do it? Pin
jwalker34319-Jan-11 2:05
jwalker34319-Jan-11 2:05 
GeneralRe: how should i word this... and better...how should i do it? Pin
#realJSOP19-Jan-11 2:10
mve#realJSOP19-Jan-11 2:10 
GeneralRe: how should i word this... and better...how should i do it? Pin
DaveyM6919-Jan-11 2:48
professionalDaveyM6919-Jan-11 2:48 
GeneralRe: how should i word this... and better...how should i do it? Pin
#realJSOP19-Jan-11 2:52
mve#realJSOP19-Jan-11 2:52 
GeneralRe: how should i word this... and better...how should i do it? Pin
jwalker34319-Jan-11 16:37
jwalker34319-Jan-11 16:37 
QuestionHow to pin List<byte[]> to unmanaged byte** Pin
Chesnokov Yuriy18-Jan-11 2:09
professionalChesnokov Yuriy18-Jan-11 2:09 
AnswerRe: How to pin List<byte[]> to unmanaged byte** Pin
Ravi Sant18-Jan-11 2:26
Ravi Sant18-Jan-11 2:26 

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.