让字符串生成器从数据表中接收到值。datatable 包含名为 ename 的列,并包含如下值
abc
abc
abc
in stringbuilder stored this value in the following format abcabcabc.
code
Do While (i < dt.Rows.Count)
sb.Append(dt.Rows(i)("ename").ToString)
i = (i + 1)
Loop
Expected output abc,abc,abc .how to do this?