How To Add Relation To Dataset

  • Uploaded by: Muneeb Khan
  • 0
  • 0
  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View How To Add Relation To Dataset as PDF for free.

More details

  • Words: 64
  • Pages: 1
Public Function createRelation(ByRef dataSetName As DataSet, _ ByVal tableMaster As String, ByVal tableChild As String, _ ByVal fldMaster As String, ByVal fldChild As String, _ ByVal relationName As String, ByVal creatConstr As Boolean) As DataRelation Dim ParentChild As DataRelation Dim parentColumn As DataColumn Dim childColumn As DataColumn parentColumn = dataSetName.Tables(tableMaster).Columns(fldMaster) childColumn = dataSetName.Tables(tableChild).Columns(fldChild) ParentChild = New DataRelation(relationName, parentColumn, childColumn, creatConstr) Return ParentChild End Function

Related Documents

How To Add Agents
December 2019 31
How To Add Staff
December 2019 23
How To Add Characters
October 2019 30
How To Add Other Schools
December 2019 21

More Documents from "BCCCS"

Shortcut Keys
November 2019 49
Tcp-ip Basics
November 2019 54
Learn Excel
November 2019 51
Java Look And Feel
November 2019 29