473,383 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

DataRelation

Hello!

I can't understand what is this table DataRelation used for.
I mean as long as you have this DataTable I can't see any point in using
this DataRelation.

//Tony
Aug 18 '08 #1
2 1904
Tony Johansson wrote:
Hello!

I can't understand what is this table DataRelation used for.
I mean as long as you have this DataTable I can't see any point in using
this DataRelation.

//Tony
A DataRelation object is used to specify relations between DataTable
objects with a DataSet.

--
Göran Andersson
_____
http://www.guffa.com
Aug 18 '08 #2
On Aug 18, 5:35*am, "Tony Johansson" <johansson.anders...@telia.com>
wrote:
Hello!

I can't understand what is this table DataRelation used for.
I mean as long as you have this DataTable I can't see any point in using
this DataRelation.

//Tony
DataRelation is NOT A TABLE. It's a class. It's used to make a
relationship between columns in two tables.
DataTable in turn has a collection of DataRelation instances (in the
same way that it as a collection of DataRow objects) where it manage
the relationships of its columns with other tables/columns
Aug 18 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: serge calderara | last post by:
Dear all, I have a dataset which contains 2 DataTable The idea is to bind a text box control with one table field and then diaplaye the associated content of the second table based on the first...
1
by: yaser | last post by:
Hello: I need save my update but i can't :confused: :confused: :confused: look my code : Imports System.Data Imports System.Data.OleDb Public Class Form1
0
by: Stefan | last post by:
I need help with the following problem. I created a datarelation DataRelation oRelation = new DataRelation("plz_relation",odsAdressenDS.v_plz.plz_idColumn,...
0
by: Fox | last post by:
Is it possible to get back the DataRelation contect from a dataSet? { DataRelation myDataRelation; DataColumn parentColumn; DataColumn childColumn; parentColumn = myDataSet.Tables.Columns;...
1
by: Johann Blake | last post by:
I have a dataset that contains a parent table and a child table. A DataRelation exists between the two. I was under the impression from reading the VS docs that when I filled the parent table, the...
0
by: mazda_88 | last post by:
I have a number of tables inside a dataset. I have a repeater that I need to bind to. The data that is needed resides in two tables in the dataset. Here is the code that I'm using: Dim...
4
by: Kevin Davis via DotNetMonster.com | last post by:
Aloha, I have a question when using the Datarelation. I built a dataset and need to use the Datarelation to build parent-child relationships. I have events that may or may not use resources. ...
0
by: frank | last post by:
I have several tables that have a one to one relationship. I have DataRelation objects to define these relationships. I would like to bind the DataRelation to both a gridview and a formview so...
2
by: Rich | last post by:
Hello, Following an example at http://www.vb-tips.com/dbpages.aspx?IA=DG (by Cor Lightert and Ken Tucker) on binding a dataRelation to a Datagridview for sqlClient, I was able to view rows...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.