Jump to content

Dynamically populate table/div based on SQL data

- - - - -

  • Please log in to reply
No replies to this topic

#1
khaos

khaos

    Newbie

  • Members
  • Pip
  • 1 posts
Hey everyone!

I am new to C# and I have been trying to create a dynamic table/div that is based on a SQL table. If the SQL table has data in it I want the table to be empty, and if it isn't empty then I want to generate a table with headers and rows that will display the SQL table's values.

Below is an example of what I am talking about:
Posted Image

Uploaded with ImageShack.us

Any help will be really appreciated. I can't seem to figure this one out. Based on the image can you tell me if this would be easier to achieve if I make a table/div?

Thanks




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users