Click here to Skip to main content
15,914,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Binding an Integer value from a generic list to an ASP DataGrid? Pin
Steve Holdorf5-Jun-08 6:27
Steve Holdorf5-Jun-08 6:27 
QuestionTypable Help Required Pin
dhirander5-Jun-08 2:42
dhirander5-Jun-08 2:42 
AnswerRe: Typable Help Required Pin
eyeseetee5-Jun-08 3:08
eyeseetee5-Jun-08 3:08 
QuestionListbox and Collection Pin
Leandrão5-Jun-08 2:17
Leandrão5-Jun-08 2:17 
AnswerRe: Listbox and Collection Pin
eyeseetee5-Jun-08 2:23
eyeseetee5-Jun-08 2:23 
GeneralRe: Listbox and Collection Pin
Leandrão5-Jun-08 2:32
Leandrão5-Jun-08 2:32 
GeneralRe: Listbox and Collection Pin
r aa j5-Jun-08 2:37
r aa j5-Jun-08 2:37 
GeneralRe: Listbox and Collection Pin
Leandrão5-Jun-08 2:44
Leandrão5-Jun-08 2:44 
Go,

Sub One() - called onLoad
Dim colVOLEndereco As Collection

colVOLEndereco = objBLLEndereco.fnListar

If colVOLEndereco.Count > 0 Then
lstEnderecos.DataSource = colVOLEndereco
lstEnderecos.DataTextField = "pstrNome"
lstEnderecos.DataValueField = "pstrIDEndereco"
lstEnderecos.DataBind()
end if
End Sub


Sub Two() - Called on postback

Dim colVOLEndereco As Collection

colVOLEndereco = lstEnderecos.SelectedItem

End sub


In sub two, the object selected isn't got. I'd like to put the selected object in colVOLEndereco.

OK?
GeneralRe: Listbox and Collection Pin
t7bros5-Jun-08 8:43
t7bros5-Jun-08 8:43 
GeneralRe: Listbox and Collection Pin
r aa j5-Jun-08 18:46
r aa j5-Jun-08 18:46 
QuestionNeed Help Pin
learningman5-Jun-08 2:08
learningman5-Jun-08 2:08 
AnswerRe: Need Help Pin
ToddHileHoffer5-Jun-08 2:21
ToddHileHoffer5-Jun-08 2:21 
AnswerRe: Need Help Pin
eyeseetee5-Jun-08 2:22
eyeseetee5-Jun-08 2:22 
GeneralRe: Need Help Pin
learningman5-Jun-08 3:02
learningman5-Jun-08 3:02 
GeneralRe: Need Help Pin
eyeseetee5-Jun-08 3:07
eyeseetee5-Jun-08 3:07 
GeneralRe: Need Help Pin
learningman5-Jun-08 3:51
learningman5-Jun-08 3:51 
GeneralRe: Need Help Pin
eyeseetee5-Jun-08 4:00
eyeseetee5-Jun-08 4:00 
QuestionFilling Dropdown using Javascript Pin
Mahesh.J5-Jun-08 1:37
Mahesh.J5-Jun-08 1:37 
AnswerRe: Filling Dropdown using Javascript Pin
ToddHileHoffer5-Jun-08 2:19
ToddHileHoffer5-Jun-08 2:19 
GeneralRe: Filling Dropdown using Javascript Pin
Mahesh.J5-Jun-08 2:22
Mahesh.J5-Jun-08 2:22 
GeneralRe: Filling Dropdown using Javascript Pin
ToddHileHoffer5-Jun-08 2:51
ToddHileHoffer5-Jun-08 2:51 
AnswerRe: Filling Dropdown using Javascript Pin
r aa j5-Jun-08 2:21
r aa j5-Jun-08 2:21 
GeneralRe: Filling Dropdown using Javascript Pin
Mahesh.J5-Jun-08 2:25
Mahesh.J5-Jun-08 2:25 
GeneralRe: Filling Dropdown using Javascript Pin
r aa j5-Jun-08 2:36
r aa j5-Jun-08 2:36 
GeneralRe: Filling Dropdown using Javascript Pin
Mahesh.J5-Jun-08 2:41
Mahesh.J5-Jun-08 2:41 

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.