Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 04-02-2009
Member
 
Join Date: Jan 2009
Posts: 22
manual Binding OR ObjectDataSource

Hi,

I have a simple question to ask you guys.
I know that which is a good practice? Using ObjectDataSOurce or binding yourself?

Does this makes any difference depending upon the objects?

Please share your thoughts concerning this topic.
Reply With Quote
  #2  
Old 04-02-2009
Member
 
Join Date: Jan 2009
Posts: 44
Re: manual Binding OR ObjectDataSource

I think this is an important article for you to read & understand the concept of ASP.NET 2.0 GridView ObjectDataSource versus Custom Binding

I hope this helps!

But since am a beginner i would like to code this manually!
Custom binding until you are very well experienced with the codes.
Reply With Quote
  #3  
Old 04-02-2009
Member
 
Join Date: May 2008
Posts: 72
Re: manual Binding OR ObjectDataSource

Its a choice of user/developer IMO.
If you want to use the ObjectDataSource it makes it simpler but at the same time you loose the flexibility since you don't have full control over databinding.

Loose some gain some
Reply With Quote
  #4  
Old 04-02-2009
Member
 
Join Date: May 2008
Posts: 40
Re: manual Binding OR ObjectDataSource

When binding the ObjectDataSource (or any other type of DataSource
control) with the DataSourceID property of controls like GridView,
FormView etc, then you have no control over when the *automatic* data
binding occurs.

You can however force it to occur manually with the DataBind() method.
This will cause the data binding to occur in addition to when it
happens automatically.
Reply With Quote
  #5  
Old 04-02-2009
Member
 
Join Date: May 2008
Posts: 115
Re: manual Binding OR ObjectDataSource

Please see this page:
http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=368

I'm for the build-in objects, but if u are not using them as components on
your forms
I see there advantages that u relies on the existed classess which are the
part of .NET FW and doesnt invent the wheel.
it helps you extend your knowlege of .NET FW and improve the development
speed reusing the standard classess
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "manual Binding OR ObjectDataSource"
Thread Thread Starter Forum Replies Last Post
Download Pioneer DEH-P5900IB Owners Manual, Installation Manual Simond Portable Devices 1 26-05-2011 12:55 AM
What is Data Binding? Rum Software Development 5 29-01-2010 12:15 PM
early binding in a C++ Porfirioo Software Development 5 27-11-2009 06:45 PM
Late Binding in C# Katty Software Development 5 27-11-2009 10:09 AM
HP DV2000 Service Manual & Repair Manual Damager Hardware Peripherals 3 02-09-2009 02:51 PM


All times are GMT +5.5. The time now is 01:03 PM.