Jun 10, 2010 10:22 PM|sansan|LINK
you are writing your code like this
string command = ("insert into GeneralInfo values (@attainment)");
SqlCommand cmd = new SqlCommand(command, con);
cmd.Parameters.Add("@attainment", SqlDbType.NVarChar).Value = attainment.SelectedValue;
Instead of attainment.SelectedValue copy the code that I posted.
That will give all selected Values separated by comma like 1,2,3,4 and so on
if your database column is a varchar, u can directly insert it without any issues
post your comments if this is not clear.