J
joe
I actually have 2 questions:
1) Is databinding the fastest way to load a listbox from sqlserver?
speed is crucial and I want to make sure i'm populating it the fastest
way i can
2) Also, i'm having trouble getting the selected items in the
listbox.
Will simply using the Items property (with the index) not give me
access to the value?:
For intIndex = lstStatus.SelectedIndex To lstStatus.Items.Count - 1
strTest = strTest & lstStatus.Items(intIndex)
Next
what's so frustrating is that i'm actually doing this for Excel using
VSTO and everytime i try to use the .Items(intIndex) - Excel
completely crashes on me.
anybody point me to an example or hint?
TIA!
Joe
1) Is databinding the fastest way to load a listbox from sqlserver?
speed is crucial and I want to make sure i'm populating it the fastest
way i can
2) Also, i'm having trouble getting the selected items in the
listbox.
Will simply using the Items property (with the index) not give me
access to the value?:
For intIndex = lstStatus.SelectedIndex To lstStatus.Items.Count - 1
strTest = strTest & lstStatus.Items(intIndex)
Next
what's so frustrating is that i'm actually doing this for Excel using
VSTO and everytime i try to use the .Items(intIndex) - Excel
completely crashes on me.
anybody point me to an example or hint?
TIA!
Joe