Skip to content

Dropdownlist

priya mishra

Asked Sep 29, 2014, 6:49 AM EDT2 answers
Share
LinkedInX
i want to insert three drop down list values into one column into sql server table from asp.net C#

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Umesh Kumar
    0
    • C#
      private string ConcatenateCheckBoxListItems() {     StringBuilder sb = new StringBuilder();       String trimmedString;      foreach (ListItem item in Dropdownlist)     {         sb.Append(item.Text + ", ");     }      trimmedString = sb.ToString().TrimEnd(characters);     return trimmedString; }
    0
  • 1 short reply
    • Vithal Wadje
      0
      insert with comma seprated
      0