Click here to Skip to main content
15,885,537 members
Home / Discussions / C#
   

C#

 
GeneralRe: SQL SERVER Instance Pin
jackie.398122-Feb-16 4:15
jackie.398122-Feb-16 4:15 
GeneralRe: SQL SERVER Instance Pin
OriginalGriff22-Feb-16 5:01
mveOriginalGriff22-Feb-16 5:01 
GeneralRe: SQL SERVER Instance Pin
jackie.398122-Feb-16 5:14
jackie.398122-Feb-16 5:14 
GeneralRe: SQL SERVER Instance Pin
OriginalGriff22-Feb-16 6:03
mveOriginalGriff22-Feb-16 6:03 
GeneralRe: SQL SERVER Instance Pin
jackie.398122-Feb-16 6:14
jackie.398122-Feb-16 6:14 
AnswerRe: SQL SERVER Instance Pin
Richard Deeming22-Feb-16 8:07
mveRichard Deeming22-Feb-16 8:07 
GeneralRe: SQL SERVER Instance Pin
OriginalGriff22-Feb-16 8:22
mveOriginalGriff22-Feb-16 8:22 
Questionrun-time "cost" (speed ? memory ?) of resetting a DataSource in order to refresh bound UI Controls ? Pin
BillWoodruff22-Feb-16 0:19
professionalBillWoodruff22-Feb-16 0:19 
As I was putting together a reply to a QA question today (which, imho, implied using a Stack as a DataSource): [^].

Thinking about what may actually happen under the hood when you re-bind a DataSource to a content source so that a databound Control refreshes at run-time, like this: (use of 'DisplayMember and 'ValueMember left out here)

// refresh
bindSource = new BindingSource(); // assume 'bindSource is declared
bindSource.DataSource = StringStack; // assume a valid Stack exists
listBox1.DataSource = bindSource; // yeah, a ListBox is alive

reminded me that I have never been able to find any information on whether this is an "expensive" operation ... and I don't have the hip-high waders and anti-snake-bite anti-venin needed to go into that dismal swamp of CLR/IL.

I'd appreciate your thoughts on the possible memory/computation time associated with this type of operation.
«In art as in science there is no delight without the detail ... Let me repeat that unless these are thoroughly understood and remembered, all “general ideas” (so easily acquired, so profitably resold) must necessarily remain but worn passports allowing their bearers short cuts from one area of ignorance to another.» Vladimir Nabokov, commentary on translation of “Eugene Onegin.”


modified 22-Feb-16 9:04am.

AnswerRe: run-time "cost" (speed ? memory ?) of resetting a DataSource in order to refresh bound UI Controls ? Pin
Richard Deeming22-Feb-16 2:05
mveRichard Deeming22-Feb-16 2:05 
GeneralRe: run-time "cost" (speed ? memory ?) of resetting a DataSource in order to refresh bound UI Controls ? Pin
BillWoodruff22-Feb-16 3:12
professionalBillWoodruff22-Feb-16 3:12 
QuestionCan BHO(browser helper object) remove readonly attribute of an input Pin
Edward_Zhao21-Feb-16 17:36
professionalEdward_Zhao21-Feb-16 17:36 
AnswerRe: Can BHO(browser helper object) remove readonly attribute of an input Pin
Kornfeld Eliyahu Peter21-Feb-16 20:42
professionalKornfeld Eliyahu Peter21-Feb-16 20:42 
AnswerRe: Can BHO(browser helper object) remove readonly attribute of an input Pin
Pete O'Hanlon21-Feb-16 20:51
mvePete O'Hanlon21-Feb-16 20:51 
Questionhello guys I have a Question, how to display the result from this program in richtextbox when I push a buttom Pin
Member 1217509321-Feb-16 4:40
Member 1217509321-Feb-16 4:40 
QuestionRe: hello guys I have a Question, how to display the result from this program in richtextbox when I push a buttom Pin
CHill6021-Feb-16 5:23
mveCHill6021-Feb-16 5:23 
AnswerRe: hello guys I have a Question, how to display the result from this program in richtextbox when I push a buttom Pin
OriginalGriff21-Feb-16 5:23
mveOriginalGriff21-Feb-16 5:23 
Questionbest practice for run-time transforming large data set of high-precision values Pin
BillWoodruff20-Feb-16 18:14
professionalBillWoodruff20-Feb-16 18:14 
AnswerRe: best practice for run-time transforming large data set of high-precision values Pin
Garth J Lancaster20-Feb-16 19:02
professionalGarth J Lancaster20-Feb-16 19:02 
GeneralRe: best practice for run-time transforming large data set of high-precision values Pin
BillWoodruff20-Feb-16 19:21
professionalBillWoodruff20-Feb-16 19:21 
AnswerRe: best practice for run-time transforming large data set of high-precision values Pin
Pete O'Hanlon20-Feb-16 23:41
mvePete O'Hanlon20-Feb-16 23:41 
GeneralRe: best practice for run-time transforming large data set of high-precision values Pin
Kenneth Haugland22-Feb-16 2:56
mvaKenneth Haugland22-Feb-16 2:56 
GeneralRe: best practice for run-time transforming large data set of high-precision values Pin
Pete O'Hanlon22-Feb-16 3:30
mvePete O'Hanlon22-Feb-16 3:30 
AnswerRe: best practice for run-time transforming large data set of high-precision values Pin
Luc Pattyn21-Feb-16 11:57
sitebuilderLuc Pattyn21-Feb-16 11:57 
QuestionFileSystemWatcher Problem Pin
Kevin Marois19-Feb-16 5:26
professionalKevin Marois19-Feb-16 5:26 
AnswerRe: FileSystemWatcher Problem Pin
Richard MacCutchan19-Feb-16 5:39
mveRichard MacCutchan19-Feb-16 5:39 

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.