Michael Freidgeim's Blog
MS .Net Development
posts - 451, comments - 838, trackbacks - 172
<< Shortkey Alt-B,U is ambiguous in Visual Studio 2008 team edition
|
Home
|
Convert DataSet and DataTable to Xml String helper functions >>
DataRow.SetParentRow Method
I've noticed an existence of DataRow
.
SetParentRow Method.
MSDN d
ocumentation
is quite brief: Sets the parent row of a
DataRow
with specified new parent
DataRow
.
It wasn't clear does the functions fills foreign key values in the child row from the parent one.
Thanks to
Reflector
, I confirmed, that it does
SetKeyValues
.
Please note that from performance point of view it is
important to call SetParentRow first and add the childRow to the child table later
..
Share This Post:
posted @ Friday, July 25, 2008 8:06 PM
Print
Comments on this entry:
No comments posted yet.
Your comment:
Title:
Name:
Email:
(not displayed)
Website:
Comment:
Remember Me?
Enter the code shown above
Live Comment Preview:
«
February
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
1
2
3
4
5
6
7
8
9
10
About
Contact
Login
Article Categories
ASP.NET
.Net Framework
DotNetNuke
Code Generation
Helper Classes
Archives
January, 2012 (3)
December, 2011 (2)
November, 2011 (1)
October, 2011 (1)
September, 2011 (8)
August, 2011 (1)
July, 2011 (4)
June, 2011 (16)
May, 2011 (11)
July, 2010 (4)
June, 2010 (8)
May, 2010 (3)
March, 2010 (1)
December, 2009 (1)
November, 2009 (3)
September, 2009 (3)
August, 2009 (1)
July, 2009 (5)
June, 2009 (5)
May, 2009 (7)
April, 2009 (2)
March, 2009 (5)
February, 2009 (5)
January, 2009 (10)
December, 2008 (8)
November, 2008 (7)
October, 2008 (5)
September, 2008 (3)
August, 2008 (4)
July, 2008 (15)
June, 2008 (4)
May, 2008 (12)
April, 2008 (6)
March, 2008 (6)
February, 2008 (14)
January, 2008 (11)
December, 2007 (2)
November, 2007 (3)
October, 2007 (18)
September, 2007 (7)
August, 2007 (2)
July, 2007 (6)
June, 2007 (9)
May, 2007 (10)
April, 2007 (2)
March, 2007 (19)
February, 2007 (5)
January, 2007 (3)
December, 2006 (6)
November, 2006 (6)
October, 2006 (7)
September, 2006 (10)
August, 2006 (17)
July, 2006 (9)
June, 2006 (6)
May, 2006 (9)
April, 2006 (7)
March, 2006 (21)
February, 2006 (22)
January, 2006 (11)
December, 2005 (5)
November, 2005 (5)
October, 2005 (8)
September, 2005 (5)
August, 2005 (4)
July, 2005 (2)
Post Categories
DotNetNuke
ASP.NET
.Net Framework
SQL Server
Active Directory
MS Access
Deployment
Web Services/WCF
Z39.50
Code Generation
.Net Remoting
Blogging
Testing/Debugging/Logging
MOM
Visual Studio/TFS
AJAX
CSS/DHTML/JavaScript
Workflow
General Tips
LINQ
Batch files
Links
My del.icio.us
My MS feedback
StackOverflow
Syndication:
RSS
ATOM