Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a view with a case
Message
From
04/12/2002 12:50:28
 
 
To
04/12/2002 12:25:16
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00729439
Message ID:
00729525
Views:
8
Randy,

Well, you can filter your DataSets by using a DataView, which I've done for only a few things.. Sounds like to me though, that by creating a SQL Server View, you're bring down less data from the backend, which is a good thing and probably the best way to handle your particular situation.

~~Bonnie


>thanks for the input Bonnie. So what do you do, since you don't use views. Here is my case scenario. I have to do a cross tabulation on two tables. Then based on certain criteria, I filter the rows. Then I have to do a join with several other tables to get the information I need. Since you can't do Select statements on tables within a dataset, I am creating a view to hold the cross tabulation and then only have one Select statement to run to populate my final resulting dataset.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform