Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 saving data based on listbox selection

Author  Topic 

imranabdulaziz
Yak Posting Veteran

83 Posts

Posted - 2007-01-08 : 09:21:29
Dear All,
I am bit new to this programmming world. Currently i am making web application using C# ,asp.net and sql. in a web page there i have listbox with multiple selection option. now with single option i am able to save the form data. but problem occur when there is multiple option. as i am confuge with how can i based on selection (no of selected data). i can save the record. please guide me.

thanks

Shem
Yak Posting Veteran

62 Posts

Posted - 2007-01-08 : 10:00:54
well your multiple list box should save as a string with a ',' between options.

what kind of data is your listbox holding?
what kind of field are you saving this info too?

Shem
Go to Top of Page
   

- Advertisement -