Click here to Skip to main content
15,916,702 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionOrdering an asp.net Listbox Pin
Senseicads18-Jun-07 0:44
Senseicads18-Jun-07 0:44 
AnswerRe: Ordering an asp.net Listbox Pin
Sylvester george18-Jun-07 1:02
Sylvester george18-Jun-07 1:02 
GeneralRe: Ordering an asp.net Listbox Pin
Senseicads18-Jun-07 1:12
Senseicads18-Jun-07 1:12 
QuestionHow to Declare a variable which is static and also global in vb Pin
Hemant Garg18-Jun-07 0:42
Hemant Garg18-Jun-07 0:42 
AnswerRe: How to Declare a variable which is static and also global Pin
RepliCrux18-Jun-07 0:50
RepliCrux18-Jun-07 0:50 
GeneralRe: How to Declare a variable which is static and also global Pin
Hemant Garg18-Jun-07 1:00
Hemant Garg18-Jun-07 1:00 
AnswerRe: How to Declare a variable which is static and also global in vb Pin
RepliCrux18-Jun-07 0:59
RepliCrux18-Jun-07 0:59 
GeneralRe: How to Declare a variable which is static and also global in vb Pin
Hemant Garg18-Jun-07 1:02
Hemant Garg18-Jun-07 1:02 
QuestionRendered HTML output Pin
moon_stick18-Jun-07 0:35
moon_stick18-Jun-07 0:35 
AnswerRe: Rendered HTML output Pin
N a v a n e e t h18-Jun-07 0:46
N a v a n e e t h18-Jun-07 0:46 
AnswerRe: Rendered HTML output Pin
RichardGrimmer18-Jun-07 0:53
RichardGrimmer18-Jun-07 0:53 
GeneralRe: Rendered HTML output Pin
DavidNohejl18-Jun-07 1:19
DavidNohejl18-Jun-07 1:19 
AnswerRe: Rendered HTML output Pin
moon_stick18-Jun-07 3:20
moon_stick18-Jun-07 3:20 
QuestionSession Problems Pin
Russell Jones18-Jun-07 0:14
Russell Jones18-Jun-07 0:14 
QuestionCoudl not get ListBox Value Pin
J Liang18-Jun-07 0:02
J Liang18-Jun-07 0:02 
Hi,

I am having some problem getting the value from the List Box which is the unique id for the name. It goes something like this. I got a table as this one.

tb_user

ID Name
11 John
12 Peter
13 Mike

So in the list box it will show only

Name
John
Peter
Mike

When I click on the button, it suppose to gather all the ID 1,2,3 to store it some where in the database.

I'd tried lstbox.SelectedValue[0] but this would cost it to retrieve '1' instead of '11', the first character of ID.

So my question is how can I retrieve all the IDs in my list box.

Thanks in advance.


J Liang
AnswerRe: Coudl not get ListBox Value [modified] Pin
RepliCrux18-Jun-07 1:25
RepliCrux18-Jun-07 1:25 
GeneralRe: Coudl not get ListBox Value Pin
J Liang18-Jun-07 15:05
J Liang18-Jun-07 15:05 
AnswerRe: Coudl not get ListBox Value Pin
RepliCrux18-Jun-07 15:16
RepliCrux18-Jun-07 15:16 
GeneralRe: Coudl not get ListBox Value Pin
J Liang18-Jun-07 17:29
J Liang18-Jun-07 17:29 
GeneralRe: Coudl not get ListBox Value Pin
RepliCrux18-Jun-07 17:36
RepliCrux18-Jun-07 17:36 
GeneralRe: Coudl not get ListBox Value Pin
RepliCrux18-Jun-07 17:39
RepliCrux18-Jun-07 17:39 
GeneralRe: Coudl not get ListBox Value Pin
J Liang20-Jun-07 16:03
J Liang20-Jun-07 16:03 
Questiondialog box Pin
niki_nilu17-Jun-07 23:51
niki_nilu17-Jun-07 23:51 
AnswerRe: dialog box Pin
N a v a n e e t h17-Jun-07 23:56
N a v a n e e t h17-Jun-07 23:56 
GeneralRe: dialog box Pin
niki_nilu18-Jun-07 0:03
niki_nilu18-Jun-07 0:03 

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.