Best Practice in C# for ADO.NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ali

    Best Practice in C# for ADO.NET

    Hi,

    I would like to know which way of programming database applications is
    the best practice and has less problems.

    using code to create connection , dataset, table adapters and so on
    or
    using visual tools and binding the controls to them

    and please describe why...

    thanks
    Ali

  • sloan

    #2
    Re: Best Practice in C# for ADO.NET

    The "drag and drop" stuff is for RAPID development.

    When it comes to Good or Maintainble development, the drop and drag
    stuff,.... is el-stinko in my book.
    aka, RAPID != to Good/Maintainable

    ...

    The best thing to me is to create your own code, but to piggyback off of the
    EnterpriseLibra ry.Data or DAAB 2.0 libraries.

    See http://sholliday.space s.live.com/Blog/cns!A68482B9628 A842A!140.entry
    for an example.






    "Ali" <nikzad.a@gmail .comwrote in message
    news:1184964237 .281995.11360@d 55g2000hsg.goog legroups.com...
    Hi,
    >
    I would like to know which way of programming database applications is
    the best practice and has less problems.
    >
    using code to create connection , dataset, table adapters and so on
    or
    using visual tools and binding the controls to them
    >
    and please describe why...
    >
    thanks
    Ali
    >

    Comment

    Working...