Hi,
You can do as follows.
By using for loop,you can solve this issue.
for(int i=0;i<listbox.items.count;i++)>
{
string strselecteditems=listbox.selectedItems[i].Text;
}
or you can do the following way also.
string strtemp="";
for(int i=0;i<listbox.items.count;i++)
{
string strselecteditems=listbox.selectedItems[i].Text;
strtemp=strtemp + ","+ strselecteditems
}
After getting selected items in
strtemp varaiable,then cal the database fucntion.
Regards,
Kiran.