DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 2 Aug 2007 22:22:43 -0400,    posted on: microsoft.public.dotnet.framework.adonet        back       

Thread Index
  1    Bill Gower
          2    Miha Markic miha at rthand com
          3    Braulio Diez


ObjectDataSource   
I am using an ObjectDataSource to populate a GridView.  The ObjectDataSource 
accesses the data in the table by means of a Stored Procedure using a 
SQLCommand.ExecuteReader.  Does this mean that I can't easily do sorting, 
filtering and paging in my GridView

Bill
Date:Thu, 2 Aug 2007 22:22:43 -0400   Author:  

Re: ObjectDataSource   
What kind of data do you bind against? IOW, what is the result of call by 
ObjectDataSource?

-- 
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Bill Gower"  wrote in message 
news:OiJjtUX1HHA.4672@TK2MSFTNGP05.phx.gbl...

>I am using an ObjectDataSource to populate a GridView.  The 
>ObjectDataSource accesses the data in the table by means of a Stored 
>Procedure using a SQLCommand.ExecuteReader.  Does this mean that I can't 
>easily do sorting, filtering and paging in my GridView
>
> Bill
>
> 
Date:Fri, 3 Aug 2007 14:46:18 +0200   Author:  

RE: ObjectDataSource   
Well,

  The good thing is that DataReaders are quite fast and you can tune it up 
so it performs like a rocket.

 Bad news are that you will need to make some extra code to support sorting 
and paging (you will make real paging just only selecting the records that 
are in the page).

  Here you have some useful links:

http://aspnet.4guysfromrolla.com/articles/031506-1.aspx
http://aspnet.4guysfromrolla.com/articles/032206-1.aspx
 
Good Luck
    Braulio

/// ------------------------------
/// Braulio Diez
///
/// http://www.tipsdotnet.com
/// ------------------------------




"Bill Gower" wrote:


> I am using an ObjectDataSource to populate a GridView.  The ObjectDataSource 
> accesses the data in the table by means of a Stored Procedure using a 
> SQLCommand.ExecuteReader.  Does this mean that I can't easily do sorting, 
> filtering and paging in my GridView
> 
> Bill
> 
> 
> 
Date:Fri, 3 Aug 2007 05:52:06 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us