🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #466

Re: WinForm, DatTable and DataColumn event

#466
From: Eric
Date: Thu, 09 Dec 2004 15:06
30 lines
2110 bytes
J.C.Voon wrote:

> So, How can i simulate those event in .Net DataTable ? Please Help.

This link has some subcategories that are relevant to this topic:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide
/html/cpconmanipulatingdatainadonetdatatables.asp

This has a good C# code example:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h
tml/frlrfsystemdatadatatableclasscolumnchangingtopic.asp

The biggest change from the Delphi world is that you have to consider
that a DataTable is a collection of DataColumns and DataRows. You can
treat a column or row as a unique entity.

DataTables also support primary keys, but not more general indexes that
TClientDataSet is able to support. However, the main reason people use
indexes on TClientDataSet is to give you a certain order for the data.
In ADO.NET, DataViews are helpful to sort and filter data from a
DataTable.

Further, a DataTable can stand alone, or it can live in a bigger
collection called a DataSet. A DataSet adds other features that you
would normally expect in a database: support for multiple tables and
referential integrity between the tables (supported by DataRelations).

Eric
Technical Details
Message-ID: <41b869fd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41b82d74.36803821@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,7faf1684afa43738
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Eric" <Eric>
Subject: Re: WinForm, DatTable and DataColumn event
Newsgroups: borland.public.csharpbuilder.language.csharp
References:  <41b82d74.36803821@forums.borland.com>
User-Agent: XanaNews/1.16.4.6
NNTP-Posting-Host: 216.206.90.2
Message-ID: <41b869fd@newsgroups.borland.com>
Date: 9 Dec 2004 07:06:37 -0800
X-Trace: newsgroups.borland.com 1102604797 216.206.90.2 (9 Dec 2004 07:06:37 -0800)
Lines: 30
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail