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

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

Ansible warning on jinja2 braces on when -

html - How to custom Bootstrap grid height? -