Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How can we add relation’s between table in a DataSet
How can we add relation’s between table in a DataSet ?
✍: Guest
Dim objRelation As DataRelation
objRelation=New
DataRelation("CustomerAddresses",objDataSet.Tables("Customer").Columns("Custid")
,objDataSet.Tables("Addresses").Columns("Custid_fk"))
objDataSet.Relations.Add(objRelation)
Relations can be added between “DataTable” objects using the “DataRelation” object. Above sample code is trying to build a relationship between “Customer” and “Addresses” “Datatable” using “CustomerAddresses” “DataRelation” object.
2007-10-24, 5100👍, 0💬
Popular Posts:
How Do You Uninstall JUnit Uninstalling JUnit is easy. Just remember these: Delete the directory tha...
Which one of the following statements is TRUE in regard to overloading the ++ operator? 1 You cannot...
How does ASP.NET maintain state in between subsequent request ? Refer caching chapter.
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...
WHat will be the result of the following code? #define TRUE 0 // some code while (TRUE) { // some co...