In my project I am looping across a dataview result.
string html =string.empty; DataView dV = data.DefaultView; for(int i=0;i< dV.Count;i++) { Da
stringbuilder is what you are looking for. In general, if there is a function for some job try to utilize it instead of writing some procedure which does pretty much the same job.