Posted on: 11/9/2012 1:07:12 AM | Views : 294

hi anyone help me. how can i store my multiple data in one field and save it to my database? heres my code


for (int count = 0; count <= Listbox.Items.Count-1; count++)
{
string reason =Listbox.Items[count].ToString();
string s_id = Session["id"].ToString();
DataAccess.saveReason(s_id, reason);
}

i want my listbox items ave in one control sample literal control and it will save in my database as data1, data2, data3.. etc..

im usinga asp.net c# thanks
...

Go to the complete details ...