CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 1999
    Location
    G day Mayt Land
    Posts
    971

    new sql table class for my project

    my project is interacting with a sql db and there are already existing tables (classes) that the project using to interact with the SQL Db thru these classes.

    I ahev added a new table and am trying to avoid copy and pasting and modifying a new class for the new table.

    >net should be able to allow me to create this class to interact with a prticular SQL table , but I just cant figure out how I can do it.


    if you know how please do reply.
    Cheers

  2. #2
    Join Date
    Dec 2007
    Location
    South Africa
    Posts
    263

    Re: new sql table class for my project

    Saeed Wrote: my project is interacting with a sql db and there are already existing tables (classes) that the project using to interact with the SQL Db thru these classes.

    Do you have Access to the Class Code ? , if so why dont you add a Function that will do what you want and dont Touch the other Functions and call only your Function from the Presentation Layer ?


    Saeed Wrote: net should be able to allow me to create this class to interact with a prticular SQL table , but I just cant figure out how I can do it.

    Its Simple , you can Create your Class to do that and add functions. Why dont you make a Copy of the Class you dont want to touch and add functions to work for you, test it, if the functionalities are still working , then use it

    Hope this Helps
    Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."

  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: new sql table class for my project

    vuyiswam, you could use the [QUOTE] and [/QUOTE] or the Quote button on the bottom right of each post, next to the Edit button. There's is also now a Multi Quote button, next to the Quote button, which allows you to Quote multiple posts. Instead of saying So and So Wrote :

    It makes it easier to read posts
    Last edited by HanneSThEGreaT; November 18th, 2008 at 03:13 AM. Reason: Fixed Spacing

  4. #4
    Join Date
    Dec 2007
    Location
    South Africa
    Posts
    263

    Resolved Re: new sql table class for my project

    Thanks , i Struggled to understand how you do it.


    Thanks
    Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured