www.webdeveloper.com
Results 1 to 3 of 3

Thread: how to bind a data table to an asp table

  1. #1
    Join Date
    Jun 2007
    Posts
    27

    Unhappy how to bind a data table to an asp table

    Somebody please help.

    I have a datagrid created in my asp.net application which binds to a data table. Now due to certain needs I need to replace this grid by the asp table but I am not sure how to bind data to the asp table as it doesnt have any table.datasource property.

    how do I bind a data table to an asp table.

  2. #2
    Join Date
    Jun 2004
    Posts
    13
    You can't Bind a DataTable to an ASP Table Object. However, you could loop over the DataTable and populate the ASP Table if needed. The curious question is why do you need to replace the DataGrid?

  3. #3
    Join Date
    Jun 2007
    Posts
    27
    Yeah did the same finally....reason is more contextual actually I have a script ready for sorting and paging...which I want to reuse for thios database nut that works with tables only

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles