Re: Code reuse

Discussion in 'ASP .Net' started by Phil Winstanley [Microsoft MVP ASP.NET], May 23, 2004.

  1. Simon,

    Basically if you find yourself writing the same code twice, wrap it up
    and dump it in a shared DLL.

    Hth,
    Phil Winstanley
    Microsoft ASP.NET MVP
    http://www.myservicescentral.com
     
    Phil Winstanley [Microsoft MVP ASP.NET], May 23, 2004
    #1
    1. Advertising

  2. One way I'm re-using code is for SQL-execution.

    I have a function that returns a dataset and I pass the SQL-query statement
    to the function and it returns a dataset. That's much easier for me. I don't
    know if there are any draw-backs by doing so, but for me it's working.

    /Fred

    "Phil Winstanley [Microsoft MVP ASP.NET]" <> wrote in
    message news:c8q5q8$...
    > Simon,
    >
    > Basically if you find yourself writing the same code twice, wrap it up
    > and dump it in a shared DLL.
    >
    > Hth,
    > Phil Winstanley
    > Microsoft ASP.NET MVP
    > http://www.myservicescentral.com
    >
     
    Fredrik Rodin, May 23, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tshad
    Replies:
    5
    Views:
    549
    Steve C. Orr [MVP, MCSD]
    May 17, 2005
  2. Randall Parker
    Replies:
    2
    Views:
    497
    intrader
    Nov 1, 2005
  3. Hylander

    To reuse or not to reuse....

    Hylander, Feb 26, 2004, in forum: Java
    Replies:
    0
    Views:
    427
    Hylander
    Feb 26, 2004
  4. code reuse and design reuse

    , Feb 7, 2006, in forum: C Programming
    Replies:
    16
    Views:
    1,040
    Malcolm
    Feb 12, 2006
  5. jacob navia

    To reuse or not to reuse

    jacob navia, Nov 5, 2006, in forum: C Programming
    Replies:
    19
    Views:
    543
    Dave Thompson
    Dec 18, 2006
Loading...

Share This Page