Hi pratikshahse,
You could try a function which accepts an array, then loop through the items and builds the string....
public string ToCommaDelimitedString(Array arr)
{
System.Text.StringBuilder s = new System.Text.StringBuilder();
for (int i = 0; i <= arr.Length - 1; i++) {
s.Append(arr(i).ToString);
if (i < arr.Length - 1) {
s.Append(",");
}
}
return s.ToString;
}
Regards,
Wayne