Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ClearOnFill parameter for FillDataSet()
Message
From
01/08/2003 17:40:53
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
ClearOnFill parameter for FillDataSet()
Miscellaneous
Thread ID:
00816068
Message ID:
00816068
Views:
65
I have a business object (inherited from mmBusinessObject) that uses a stored proc in SQL server in it's call to FillDataSet(). This stored proc returns several tables in a dataset. When I issue a subsequent call to FillDataSet, with the clearOnFill parameter as true, the first table in the dataset is cleared just fine, but any other tables in the dataset do not get cleared, they just get appended with the new data.

I can get around this by calling DataSet.Tables.Clear() prior to filling the DataSet, but I assumed that this is what the clearOnFill parameter was used for. Am I doing something wrong or is this something to be addressed in MM? I'm using version 1 of MM.

Thanks,

-Nate
Next
Reply
Map
View

Click here to load this message in the networking platform