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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -