Posted on: 11/22/2013 3:48:52 AM | Views : 753

I guess I am almost there.
I have a SqlDatasource containing this
D1, 1, 2, 3, 4 etc (no of columns keeps changing) ========================== US, 100, 200, 120, 30 etc UK, 50, 30, 10, 4 etc etc
How can I display these data with no <table><tr> <span> tags since I need to use it as javascript var input ?
I am facing 2 challenges: (1) Cannot use Gridview since it generates <table><tr> <span> tags although it has AutoGeneratedColumn (2) Cannot use Repeater which has no AutoGeneratedColumn, although it can generate clean data without this tags. (3) I must use SqlDatasource as I need to modify the database based on parameter on aspx like Dropdownlist.
What should I do to just display this datasource on the page dynamically without use of Gridview and Repeater ?
I already get something using this code
          For E ...

Go to the complete details ...