Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8639425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:00:10+00:00 2026-06-12T11:00:10+00:00

I want to use DataTables to store multiple layers of data. Some Procedure computes

  • 0

I want to use DataTables to store multiple “layers” of data.
Some Procedure computes means, absolute values and percentages for me. Theese three layers have excactly identical ordered rows and columns, but the values change.
When I delete or insert a row, similar operations must be made to the other two tables as well. Has somebody a good Idea?

Further explanation:

 Dim absTable as DataTable
 Dim meanTable as DataTable
 Dim percTable as DataTable
 abstable.rows(2).delete

How can I guarantee, that this operation is executed on the other two tables as well?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T11:00:13+00:00Added an answer on June 12, 2026 at 11:00 am

    You might want use a DataSet instead of multiple DataTable. Because, in DataSet, you can manipulate multiple DataTable using the .Tables(Index|TableName) property witch assure you to do operations on the right table. You need an higher hierarchical object to do what you want.

    So if you want to delete a row in all tables, just loop on the desired tables and call the delete method:

    Dim aDataSet as New DataSet 
    Dim absTable as New DataTable 
    Dim meanTable as New DataTable 
    Dim percTable as New DataTable
    
    aTable.Tables.Add(absTable) aTable.Tables.Add(meanTable) aTable.Tables.Add(percTable)
    
    For each table as DataTable in aDataSet.Tables
        table.rows(2).delete 
    Next
    

    You can also have cross Tables references to ensure or manipulate or do whatever you want on it.

    aDataSet.Tables(0) = aDataSet.Tables(1) 'only if the talbes 0 and 1 have same columns 
    

    Hope this is what you asked for.

    see http://msdn.microsoft.com/en-us/library/system.data.dataset.aspx for more details on DatsSet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want use some data from a website with web service. i have a
Not sure if this is possible: I want to use datatables to manipulate my
I want to use the filter function of DataTables, but don't want to use
i use CoreData to store datas, and i have got some entities. how can
I use datatables.net jQuery plugin to work with ajax tables. I want to send
I'm currently want to display a list of data using DataTables. And I want
I use datatables. I use it in conjunction with a Postgresql server. I want
EDIT : I want to use the default processing message feature provided by datatables
I use a Store Procedure to get the results and then I have a
I want to use a SELECT statement to get data from MYSQL DB and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.