Link to home
Start Free TrialLog in
Avatar of brillox
brilloxFlag for United Kingdom of Great Britain and Northern Ireland

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
Avatar of Kumaraswamy R
Kumaraswamy R
Flag of India image

Avatar of brillox

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

your question seems tough to understand for me!
Avatar of brillox

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
ASKER CERTIFIED SOLUTION
Avatar of Scubago
Scubago

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brillox

ASKER

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

Thanks