SharePoint Expert
Sharepoint 2010 Learning place & Interview Tips
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
‹
›
Home
View web version
No comments:
Post a Comment