Click here to Skip to main content
15,895,084 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
GeneralRe: dialog box Pin
Revathij18-Jun-07 0:24
Revathij18-Jun-07 0:24 
GeneralRe: dialog box Pin
N a v a n e e t h18-Jun-07 0:27
N a v a n e e t h18-Jun-07 0:27 
GeneralRe: dialog box Pin
niki_nilu18-Jun-07 1:45
niki_nilu18-Jun-07 1:45 
GeneralRe: dialog box Pin
N a v a n e e t h18-Jun-07 17:49
N a v a n e e t h18-Jun-07 17:49 
QuestionRefreshing User Control Pin
wEb GuRu...17-Jun-07 23:19
wEb GuRu...17-Jun-07 23:19 
AnswerRe: Refreshing User Control Pin
N a v a n e e t h17-Jun-07 23:43
N a v a n e e t h17-Jun-07 23:43 
QuestionRe: Refreshing User Control Pin
wEb GuRu...17-Jun-07 23:47
wEb GuRu...17-Jun-07 23:47 

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.