Click here to Skip to main content
15,895,656 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
In asp.net page value as follows

In listbox value as follows
5
10
15
20

i display the above listbox value in label as follows
Label 5,10,15,20

I want to display the above label value 5,10,15,20 using store procedure.

Using store procedure i want to display the above label value 5.10.15,20.

When i execute the store procedure i want output as follows

Listboxvalues
5
10
15
20

for retriving the above label1 values in store procedure.

how can i write the store procedure.

Regards,
Narasiman P.
Posted
Comments
Ashi0891 14-Aug-14 5:43am    
let me try to understand your question. you have a listbox which contain values vertically(obviously) and then you show those values in label with commas separating them.
now you want a stored procedure example which will insert data from label to database and select and show data from database in listview. am i right?
PhilLenoir 14-Aug-14 9:59am    
What do you actually have in your database? A table with a column that has the values 5,10,15,20?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900