SharePoint Expert
Sharepoint 2010 Learning place & Interview Tips
only My site
Saturday, May 10, 2008
DataSet - ADD, Remove & Contains
foreach ( DataTable dtt in DScoll.returnValue.Tables )
{
if ( dsDataCache.Tables.Contains( dtt.TableName ) )
dsDataCache.Tables.Remove( dtt.TableName );
dsDataCache.Tables.Add( dtt.Copy() );
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment