1.Know Dot Net - ADO.NET's DataRelation Object
2.DataRelation: Create a relation between the two tables : Table Relation « Database ADO.net « VB.Net
3.なおこ(・∀・)のニヤニヤする備忘録
-----
表達方式:
Dim parentColumns as DataColumn() = new DataColumn() { parentColumn1, parentColumn2 }
Dim childColumns as Datacolumn() = new Datacolumn() { childColumn1, childColumn2 }
Dim relation1 as DataRelation = new DataRelation("relationName", parentColumns, childColumns)
dataset.Relations.Add(relation1)
沒有留言:
張貼留言