sql - Dynamic Rows in C# for Web Services -
i have dynamic query pivot sql c #, problem not know how put dynamic rows , columns print them through web services
dataset dt= new dataset(); datatable table = dt.tables[0]; string reg= ""; (int = 0; < tabla.rows.count; i++) { int c = 1; array array = tabla.rows[i].itemarray; reg += array.getvalue(0).tostring() + ","; reg += array.getvalue(1).tostring() + ","; . . . reg += array.getvalue(n).tostring() + "*";
what part of "reg" dynamic. thank pd: important last 1 have "*"
Comments
Post a Comment