Results 1 to 5 of 5

Thread: manual Binding OR ObjectDataSource

  1. #1
    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.

  2. #2
    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.

  3. #3
    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

  4. #4
    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.

  5. #5
    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

Similar Threads

  1. Replies: 1
    Last Post: 26-05-2011, 12:55 AM
  2. What is Data Binding?
    By Rum in forum Software Development
    Replies: 5
    Last Post: 29-01-2010, 12:15 PM
  3. early binding in a C++
    By Porfirioo in forum Software Development
    Replies: 5
    Last Post: 27-11-2009, 06:45 PM
  4. Late Binding in C#
    By Katty in forum Software Development
    Replies: 5
    Last Post: 27-11-2009, 10:09 AM
  5. HP DV2000 Service Manual & Repair Manual
    By Damager in forum Hardware Peripherals
    Replies: 3
    Last Post: 02-09-2009, 02:51 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,120,912.46028 seconds with 16 queries