Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Empty Dataset
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Environment versions
Environment:
VB.NET 1.1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01071771
Message ID:
01071786
Views:
25
This should work. Use a crazy WHERE clause in your SELECT statement (something like: WHERE Name = 'Einar Kvandahl') in your data adapter (would make it faster if you used an indexed field). Then use the data adapter fill method to fill a dataset.

In theory it should work just fine, but I am not sure it is the "best" way of doing it.

Einar

>Is there a way to retrieve an empty dataset? It seems like EmptyDataSet() returns the dataset AFTER emptying it. I do not want to touch the current records. I was not sure if the Clone() would be approppriate here.
>Thanks - Mark
Semper ubi sub ubi.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform