473,614 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataSource problem (Whidbey)

Greetings,

Which datasource object (ObjectDataSour ce, SqlDataSource or
DataSetDataSour ce) can I use when I already have a DataTable that I want to
bind to my GridView? I would like to use one of the new datasource objects
since it takes care of paging and sorting automatically (just setting the
DataSource property of the GridView doesn't do this).

Why not use ObjectDataSourc e?
Some of my "GetAll" method of my BBL objects all return a DataTable not
ICollections (for the sake of performance).

Why not use SqlDataSource?
There doesn't seem to be anyway to manually set the data - it has to be
returned as a result of a query.

--

Thanks.

/Billy
Nov 18 '05 #1
0 815

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
356
by: marcus | last post by:
I actually honestly believe that this problem might stem from my SQL 2005 Express installation, but since it occurs in Whidbey I figured I'd post here. My problem is that I can't create a new datasource in whidbey using the add new option in the data menu. I get a messagebox with an error such as the following: "An unexpected error has occurred. Please record the following message when seeking support from
3
1317
by: mt | last post by:
Where can I access the Page_Load event in Whidbey for a C# ASP.NET website? Since the partial class has been introduced, I'm not sure where I should be putting page load events. Thanks very much!
10
1764
by: rawCoder | last post by:
Is there any provision for creating winform applications that have dockable windows ( Like the VS.NET IDE ) in whidbey ? I just installed the beta and cant seem to find it. Am i asking for too much or just too tired ? P.S. Cudnt find whidbey newsgroup as well. Whats the name of it anyways ? Thanx rawCoder
3
1197
by: Doug Holland | last post by:
Hi There I just installed the PDC build of Whidbey onto Windows XP using the 'Web Developer' profile when I installed and was a little surprised to see that it is only ASP.NET projects that I have available and now wishing I'd chosen 'C# Developer' which probably displays all project type ... how do I switch profiles in VS.NET Whidbey???? Secondly what happened to Microsoft telling us that code
7
1436
by: Fresh Air Rider | last post by:
Hi I understand that ASP.net 2.0 (Whidbey) is going to reduce coding by 70%. Surely this is going to de-skill or dumb down the developers task and open up the task to less qualified and trained staff. Tell me if I'm wrong.
7
1574
by: Genival Carvalho | last post by:
Hello friends... Inside my class how do to use explicit using Overloaded operator or use default ? Ex: Dim x as Integer = A + B ' Use default + operator Dim OV as integer = X + Z ' I will need use Overloaded + Operator ??? Thanks and sorry my bad English.
14
1429
by: dlangell | last post by:
I have NOT yet made the transition from VB 6 to VB.NET 2003. I know some of the general differences, but I'm not yet to the point where I would feel comfortable starting a new project in .NET. At any rate, I was going to get some books and begin learning more about it and try to make the jump, but then I see that Whidbey or VS.NET 2005 will be coming out in the next year or so. How different is this new release going to be from VB.NET 2003?...
0
1212
by: spamfurnace | last post by:
Will Whidbey have the features, of a girl i'd like to meet? Will Whidbey be easy to talk to, and rub my tired feet? Will Whidbey bats it eyes at me, and whisper "Baby, your so sweet". Will Whidbey have a body to die for, and look hot as hell wrapped only in a sheet. Will Whidbey have construction workers whistling at it if i tucked under my arm and walked it down the street. Will Whidbey make me feel like a man, and have all other IDE...
7
1560
by: VB Programmer | last post by:
I've lost the Data Sources tab (in Whidbey). How can I make it reappear? I need to "Add New Data Source..." Thanks!
0
8142
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8642
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8294
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8444
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7115
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6093
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4058
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2575
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1438
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.