brillox

asked on

# asp.net dynamic table with cell values

I need to create a table dinamically; and this is not a problem,

my problem is that I have been given an sql stored procedure that return the row and column position and the cell value , which will always be an integer.

For example, the stored procedure will give me this

column 2

row 5

sum value 3

so I have to code that the cell of my dinamically created table at column 2 and row 5 has a value of 3

any code example in vb.net will be appreciated

my problem is that I have been given an sql stored procedure that return the row and column position and the cell value , which will always be an integer.

For example, the stored procedure will give me this

column 2

row 5

sum value 3

so I have to code that the cell of my dinamically created table at column 2 and row 5 has a value of 3

any code example in vb.net will be appreciated

ASKER

Thanks rkworlds, but has I said in my question, I know how to build a table; my propblem is how to find in code a cell at a certain coordinate given the column and the row

for example,

column 2

row 5

for example,

column 2

row 5

your question seems tough to understand for me!

ASKER

Unfortunately is tough to understand for me too, but these are the reequirements I have been given.

I have a dynamically created table, then from a stored procedure I get the values that I have to fill in the table cells. this stored procedure give me the table "coordinates" by specifying column and row position, plus the value to be inserted in that cell.

I cannot figure ou how to translate this in code, assuming that I have already an empty created table of 7 columns and 10 rows

I have a dynamically created table, then from a stored procedure I get the values that I have to fill in the table cells. this stored procedure give me the table "coordinates" by specifying column and row position, plus the value to be inserted in that cell.

I cannot figure ou how to translate this in code, assuming that I have already an empty created table of 7 columns and 10 rows

ASKER CERTIFIED SOLUTION

membership

This solution is only available to members.

To access this solution, you must be a member of Experts Exchange.

ASKER

I guess I was to lazy to find it myself... Christmass time :-)

Thanks

Thanks

http://www.eggheadcafe.com/software/aspnet/30965209/position-of-a-dynamic-table.aspx